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

Side by Side Diff: chromecast/android/chromecast_config_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 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/android/chromecast_config_android.h"
6
7 namespace chromecast {
8 namespace android {
9
10 namespace {
11 base::LazyInstance<ChromecastConfigAndroid> g_instance =
12 LAZY_INSTANCE_INITIALIZER;
13 } // namespace
14
15 // static
16 ChromecastConfigAndroid* ChromecastConfigAndroid::GetInstance() {
17 return g_instance.Pointer();
18 }
19
20 ChromecastConfigAndroid::ChromecastConfigAndroid() {
21 }
22
23 ChromecastConfigAndroid::~ChromecastConfigAndroid() {
24 }
25
26 // Registers a handler to be notified when SendUsageStats is changed.
27 void ChromecastConfigAndroid::SetSendUsageStatsChangedCallback(
28 const base::Callback<void(bool)>& callback) {
29 send_usage_stats_changed_callback_ = callback;
30 }
31
32 } // namespace android
33 } // namespace chromecast
OLDNEW
« no previous file with comments | « chromecast/android/chromecast_config_android.h ('k') | chromecast/android/platform_jni_loader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698