| Index: chromecast/service/cast_service_android.cc
|
| diff --git a/chromecast/service/cast_service_android.cc b/chromecast/service/cast_service_android.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..c3daf7da88f51a29f2ea821cfab0677ccf8f1446
|
| --- /dev/null
|
| +++ b/chromecast/service/cast_service_android.cc
|
| @@ -0,0 +1,39 @@
|
| +// Copyright 2014 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#include "chromecast/service/cast_service_android.h"
|
| +
|
| +#include "base/callback.h"
|
| +#include "chromecast/android/chromecast_config_android.h"
|
| +#include "chromecast/shell/browser/android/cast_window_manager.h"
|
| +
|
| +namespace chromecast {
|
| +
|
| +// static
|
| +CastService* CastService::Create(content::BrowserContext* browser_context) {
|
| + return new CastServiceAndroid(browser_context);
|
| +}
|
| +
|
| +CastServiceAndroid::CastServiceAndroid(content::BrowserContext* browser_context)
|
| + : CastService(browser_context) {
|
| + shell::SetBrowserContextAndroid(browser_context);
|
| +}
|
| +
|
| +CastServiceAndroid::~CastServiceAndroid() {
|
| +}
|
| +
|
| +void CastServiceAndroid::Initialize() {
|
| + android::ChromecastConfigAndroid::GetInstance()->
|
| + SetSendUsageStatsChangedCallback(
|
| + // TODO(gunsch): Wire this up once CastService::Delegate is added.
|
| + base::Callback<void(bool)>());
|
| +}
|
| +
|
| +void CastServiceAndroid::StartInternal() {
|
| +}
|
| +
|
| +void CastServiceAndroid::StopInternal() {
|
| +}
|
| +
|
| +} // namespace chromecast
|
|
|