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

Side by Side 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: missed a spot Created 6 years, 4 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 unified diff | Download patch
OLDNEW
(Empty)
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.
4
5 #include "chromecast/service/cast_service_android.h"
6
7 #include "base/callback.h"
8 #include "chromecast/android/chromecast_config_android.h"
9 #include "chromecast/shell/browser/android/cast_window_manager.h"
10
11 namespace chromecast {
12
13 // static
14 CastService* CastService::Create(content::BrowserContext* browser_context) {
15 return new CastServiceAndroid(browser_context);
16 }
17
18 CastServiceAndroid::CastServiceAndroid(content::BrowserContext* browser_context)
19 : CastService(browser_context) {
20 shell::SetBrowserContextAndroid(browser_context);
21 }
22
23 CastServiceAndroid::~CastServiceAndroid() {
24 }
25
26 void CastServiceAndroid::Initialize() {
27 android::ChromecastConfigAndroid::GetInstance()->
28 SetSendUsageStatsChangedCallback(
29 // TODO(gunsch): Wire this up once CastService::Delegate is added.
30 base::Callback<void(bool)>());
byungchul 2014/08/27 18:54:28 Not necessary to set null function because the def
gunsch 2014/08/28 00:12:08 Done.
31 }
32
33 void CastServiceAndroid::StartInternal() {
34 }
35
36 void CastServiceAndroid::StopInternal() {
37 }
38
39 } // namespace chromecast
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698