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

Side by Side Diff: components/service_tab_launcher/browser/android/service_tab_launcher.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 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 "components/service_tab_launcher/browser/android/service_tab_launcher.h " 5 #include "components/service_tab_launcher/browser/android/service_tab_launcher.h "
6 6
7 #include "base/android/context_utils.h"
7 #include "base/android/jni_string.h" 8 #include "base/android/jni_string.h"
8 #include "base/callback.h" 9 #include "base/callback.h"
9 #include "content/public/browser/browser_context.h" 10 #include "content/public/browser/browser_context.h"
10 #include "content/public/browser/page_navigator.h" 11 #include "content/public/browser/page_navigator.h"
11 #include "content/public/browser/web_contents.h" 12 #include "content/public/browser/web_contents.h"
12 #include "jni/ServiceTabLauncher_jni.h" 13 #include "jni/ServiceTabLauncher_jni.h"
13 14
14 using base::android::AttachCurrentThread; 15 using base::android::AttachCurrentThread;
15 using base::android::ConvertUTF8ToJavaString; 16 using base::android::ConvertUTF8ToJavaString;
16 using base::android::GetApplicationContext; 17 using base::android::GetApplicationContext;
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 callback->Run(web_contents); 96 callback->Run(web_contents);
96 97
97 tab_launched_callbacks_.Remove(request_id); 98 tab_launched_callbacks_.Remove(request_id);
98 } 99 }
99 100
100 bool ServiceTabLauncher::RegisterServiceTabLauncher(JNIEnv* env) { 101 bool ServiceTabLauncher::RegisterServiceTabLauncher(JNIEnv* env) {
101 return RegisterNativesImpl(env); 102 return RegisterNativesImpl(env);
102 } 103 }
103 104
104 } // namespace service_tab_launcher 105 } // namespace service_tab_launcher
OLDNEW
« no previous file with comments | « components/resource_provider/android/android_hooks.cc ('k') | components/variations/android/variations_seed_bridge.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698