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

Side by Side Diff: android_webview/native/android_protocol_handler.cc

Issue 247263009: Rename jni_helper.h to jni_weak_ref.h. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | android_webview/native/aw_autofill_manager_delegate.h » ('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/jni_android.h" 11 #include "base/android/jni_android.h"
12 #include "base/android/jni_helper.h"
13 #include "base/android/jni_string.h" 12 #include "base/android/jni_string.h"
13 #include "base/android/jni_weak_ref.h"
14 #include "base/strings/string_util.h" 14 #include "base/strings/string_util.h"
15 #include "content/public/common/url_constants.h" 15 #include "content/public/common/url_constants.h"
16 #include "jni/AndroidProtocolHandler_jni.h" 16 #include "jni/AndroidProtocolHandler_jni.h"
17 #include "net/base/io_buffer.h" 17 #include "net/base/io_buffer.h"
18 #include "net/base/mime_util.h" 18 #include "net/base/mime_util.h"
19 #include "net/base/net_errors.h" 19 #include "net/base/net_errors.h"
20 #include "net/base/net_util.h" 20 #include "net/base/net_util.h"
21 #include "net/http/http_util.h" 21 #include "net/http/http_util.h"
22 #include "net/url_request/protocol_intercept_job_factory.h" 22 #include "net/url_request/protocol_intercept_job_factory.h"
23 #include "net/url_request/url_request.h" 23 #include "net/url_request/url_request.h"
(...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after
307 env, android_webview::kAndroidAssetPath).Release(); 307 env, android_webview::kAndroidAssetPath).Release();
308 } 308 }
309 309
310 static jstring GetAndroidResourcePath(JNIEnv* env, jclass /*clazz*/) { 310 static jstring GetAndroidResourcePath(JNIEnv* env, jclass /*clazz*/) {
311 // OK to release, JNI binding. 311 // OK to release, JNI binding.
312 return ConvertUTF8ToJavaString( 312 return ConvertUTF8ToJavaString(
313 env, android_webview::kAndroidResourcePath).Release(); 313 env, android_webview::kAndroidResourcePath).Release();
314 } 314 }
315 315
316 } // namespace android_webview 316 } // namespace android_webview
OLDNEW
« no previous file with comments | « no previous file | android_webview/native/aw_autofill_manager_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698