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

Side by Side Diff: android_webview/browser/aw_contents_background_thread_client.h

Issue 2928823004: Fix header guard and namespace in android_webview (Closed)
Patch Set: Fix header guard and namespace in android_webview Created 3 years, 6 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
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 #ifndef ANDROID_WEBVIEW_BROWSER_AW_CONTENTS_BACKGROUND_THREAD_CLIENT_H_ 5 #ifndef ANDROID_WEBVIEW_BROWSER_AW_CONTENTS_BACKGROUND_THREAD_CLIENT_H_
6 #define ANDROID_WEBVIEW_BROWSER_AW_CONTENTS_BACKGROUND_THREAD_CLIENT_H_ 6 #define ANDROID_WEBVIEW_BROWSER_AW_CONTENTS_BACKGROUND_THREAD_CLIENT_H_
7 7
8 #include "base/android/scoped_java_ref.h" 8 #include "base/android/scoped_java_ref.h"
9 9
10 namespace android_webview { 10 namespace android_webview {
11 11
12 class AwContentsBackgroundThreadClient { 12 class AwContentsBackgroundThreadClient {
13 public: 13 public:
14 static base::android::ScopedJavaLocalRef<jobject> shouldInterceptRequest( 14 static base::android::ScopedJavaLocalRef<jobject> shouldInterceptRequest(
15 JNIEnv* env, 15 JNIEnv* env,
16 const base::android::JavaRef<jobject>& obj, 16 const base::android::JavaRef<jobject>& obj,
17 const base::android::JavaRef<jstring>& url, 17 const base::android::JavaRef<jstring>& url,
18 jboolean isMainFrame, 18 jboolean isMainFrame,
19 jboolean hasUserGesture, 19 jboolean hasUserGesture,
20 const base::android::JavaRef<jstring>& method, 20 const base::android::JavaRef<jstring>& method,
21 const base::android::JavaRef<jobjectArray>& requestHeaderNames, 21 const base::android::JavaRef<jobjectArray>& requestHeaderNames,
22 const base::android::JavaRef<jobjectArray>& requestHeaderValues); 22 const base::android::JavaRef<jobjectArray>& requestHeaderValues);
23 }; 23 };
24 } 24 } // namespace android_webview
25 25
26 #endif // ANDROID_WEBVIEW_BROWSER_AW_CONTENTS_BACKGROUND_THREAD_CLIENT_H_ 26 #endif // ANDROID_WEBVIEW_BROWSER_AW_CONTENTS_BACKGROUND_THREAD_CLIENT_H_
OLDNEW
« no previous file with comments | « android_webview/browser/aw_content_browser_client.h ('k') | android_webview/browser/aw_contents_client_bridge_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698