[Android] Print out the command used to run findbugs.
[chromium-blink-merge.git] / chromecast / service / cast_service_android.cc
blobfc4cc85ff86a60f2e3fa422fc40709ba23a72417
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "chromecast/service/cast_service_android.h"
7 #include "chromecast/android/chromecast_config_android.h"
9 namespace chromecast {
11 // static
12 CastService* CastService::Create(
13 content::BrowserContext* browser_context,
14 net::URLRequestContextGetter* request_context_getter,
15 const OptInStatsChangedCallback& opt_in_stats_callback) {
16 return new CastServiceAndroid(browser_context, opt_in_stats_callback);
19 CastServiceAndroid::CastServiceAndroid(
20 content::BrowserContext* browser_context,
21 const OptInStatsChangedCallback& opt_in_stats_callback)
22 : CastService(browser_context, opt_in_stats_callback) {
25 CastServiceAndroid::~CastServiceAndroid() {
28 void CastServiceAndroid::Initialize() {
29 android::ChromecastConfigAndroid::GetInstance()->
30 SetSendUsageStatsChangedCallback(opt_in_stats_callback());
33 void CastServiceAndroid::StartInternal() {
36 void CastServiceAndroid::StopInternal() {
39 } // namespace chromecast