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

Side by Side Diff: android_webview/native/android_protocol_handler.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 | « no previous file | base/android/apk_assets.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "android_webview/native/android_protocol_handler.h" 5 #include "android_webview/native/android_protocol_handler.h"
6 6
7 #include "android_webview/browser/net/android_stream_reader_url_request_job.h" 7 #include "android_webview/browser/net/android_stream_reader_url_request_job.h"
8 #include "android_webview/browser/net/aw_url_request_job_factory.h" 8 #include "android_webview/browser/net/aw_url_request_job_factory.h"
9 #include "android_webview/common/url_constants.h" 9 #include "android_webview/common/url_constants.h"
10 #include "android_webview/native/input_stream_impl.h" 10 #include "android_webview/native/input_stream_impl.h"
11 #include "base/android/context_utils.h"
11 #include "base/android/jni_android.h" 12 #include "base/android/jni_android.h"
12 #include "base/android/jni_string.h" 13 #include "base/android/jni_string.h"
13 #include "base/android/jni_weak_ref.h" 14 #include "base/android/jni_weak_ref.h"
14 #include "content/public/common/url_constants.h" 15 #include "content/public/common/url_constants.h"
15 #include "jni/AndroidProtocolHandler_jni.h" 16 #include "jni/AndroidProtocolHandler_jni.h"
16 #include "net/base/io_buffer.h" 17 #include "net/base/io_buffer.h"
17 #include "net/base/mime_util.h" 18 #include "net/base/mime_util.h"
18 #include "net/base/net_errors.h" 19 #include "net/base/net_errors.h"
19 #include "net/base/net_util.h" 20 #include "net/base/net_util.h"
20 #include "net/http/http_util.h" 21 #include "net/http/http_util.h"
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after
289 return ConvertUTF8ToJavaString(env, android_webview::kAndroidAssetPath); 290 return ConvertUTF8ToJavaString(env, android_webview::kAndroidAssetPath);
290 } 291 }
291 292
292 static ScopedJavaLocalRef<jstring> GetAndroidResourcePath( 293 static ScopedJavaLocalRef<jstring> GetAndroidResourcePath(
293 JNIEnv* env, 294 JNIEnv* env,
294 const JavaParamRef<jclass>& /*clazz*/) { 295 const JavaParamRef<jclass>& /*clazz*/) {
295 return ConvertUTF8ToJavaString(env, android_webview::kAndroidResourcePath); 296 return ConvertUTF8ToJavaString(env, android_webview::kAndroidResourcePath);
296 } 297 }
297 298
298 } // namespace android_webview 299 } // namespace android_webview
OLDNEW
« no previous file with comments | « no previous file | base/android/apk_assets.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698