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

Side by Side Diff: chromecast/base/chromecast_config_android.cc

Issue 1475773002: Add context_utils.h includes where needed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chromecast/base/chromecast_config_android.h" 5 #include "chromecast/base/chromecast_config_android.h"
6 6
7 #include "base/android/context_utils.h"
7 #include "base/android/jni_android.h" 8 #include "base/android/jni_android.h"
8 #include "base/lazy_instance.h" 9 #include "base/lazy_instance.h"
9 #include "jni/ChromecastConfigAndroid_jni.h" 10 #include "jni/ChromecastConfigAndroid_jni.h"
10 11
11 namespace chromecast { 12 namespace chromecast {
12 namespace android { 13 namespace android {
13 14
14 namespace { 15 namespace {
15 base::LazyInstance<ChromecastConfigAndroid> g_instance = 16 base::LazyInstance<ChromecastConfigAndroid> g_instance =
16 LAZY_INSTANCE_INITIALIZER; 17 LAZY_INSTANCE_INITIALIZER;
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 // Called from Java. 50 // Called from Java.
50 void SetSendUsageStatsEnabled(JNIEnv* env, 51 void SetSendUsageStatsEnabled(JNIEnv* env,
51 const JavaParamRef<jclass>& caller, 52 const JavaParamRef<jclass>& caller,
52 jboolean enabled) { 53 jboolean enabled) {
53 ChromecastConfigAndroid::GetInstance()-> 54 ChromecastConfigAndroid::GetInstance()->
54 send_usage_stats_changed_callback().Run(enabled); 55 send_usage_stats_changed_callback().Run(enabled);
55 } 56 }
56 57
57 } // namespace android 58 } // namespace android
58 } // namespace chromecast 59 } // namespace chromecast
OLDNEW
« no previous file with comments | « chromecast/base/android/system_time_change_notifier_android.cc ('k') | components/gcm_driver/gcm_driver_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698