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

Side by Side Diff: chrome/browser/android/net/external_estimate_provider_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
« no previous file with comments | « chrome/browser/android/intent_helper.cc ('k') | chrome/browser/android/shortcut_helper.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "chrome/browser/android/net/external_estimate_provider_android.h" 5 #include "chrome/browser/android/net/external_estimate_provider_android.h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include "base/android/context_utils.h"
9 #include "base/message_loop/message_loop.h" 10 #include "base/message_loop/message_loop.h"
10 #include "content/public/browser/browser_thread.h" 11 #include "content/public/browser/browser_thread.h"
11 #include "jni/ExternalEstimateProviderAndroid_jni.h" 12 #include "jni/ExternalEstimateProviderAndroid_jni.h"
12 13
13 namespace chrome { 14 namespace chrome {
14 namespace android { 15 namespace android {
15 16
16 ExternalEstimateProviderAndroid::ExternalEstimateProviderAndroid() 17 ExternalEstimateProviderAndroid::ExternalEstimateProviderAndroid()
17 : task_runner_(nullptr), delegate_(nullptr), weak_factory_(this) { 18 : task_runner_(nullptr), delegate_(nullptr), weak_factory_(this) {
18 if (base::MessageLoop::current()) 19 if (base::MessageLoop::current())
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 if (delegate_) 123 if (delegate_)
123 delegate_->OnUpdatedEstimateAvailable(); 124 delegate_->OnUpdatedEstimateAvailable();
124 } 125 }
125 126
126 bool RegisterExternalEstimateProviderAndroid(JNIEnv* env) { 127 bool RegisterExternalEstimateProviderAndroid(JNIEnv* env) {
127 return RegisterNativesImpl(env); 128 return RegisterNativesImpl(env);
128 } 129 }
129 130
130 } // namespace android 131 } // namespace android
131 } // namespace chrome 132 } // namespace chrome
OLDNEW
« no previous file with comments | « chrome/browser/android/intent_helper.cc ('k') | chrome/browser/android/shortcut_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698