Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7835)

Unified Diff: chromecast/service/cast_service_android.cc

Issue 490603002: Chromecast: initial checkin of Android-based cast shell. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: added android DEPS (git cl presubmit doesn't check Java DEPS?) Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chromecast/service/cast_service_android.h ('k') | chromecast/shell/android/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..afaab64ede0fd98386db122f38e1ef0305adf64a
--- /dev/null
+++ b/chromecast/service/cast_service_android.cc
@@ -0,0 +1,37 @@
+// 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() {
+ // TODO(gunsch): Wire this the SendUsageStatsChanged callback once
+ // CastService::Delegate is added.
+}
+
+void CastServiceAndroid::StartInternal() {
+}
+
+void CastServiceAndroid::StopInternal() {
+}
+
+} // namespace chromecast
« no previous file with comments | « chromecast/service/cast_service_android.h ('k') | chromecast/shell/android/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698