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

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

Issue 14876034: Enable Clang warnings for implementation files on all platforms. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: gypi style tweak Created 7 years, 7 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
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/aw_contents_io_thread_client_impl.h" 5 #include "android_webview/native/aw_contents_io_thread_client_impl.h"
6 6
7 #include <map> 7 #include <map>
8 #include <utility> 8 #include <utility>
9 9
10 #include "android_webview/native/intercepted_request_data_impl.h" 10 #include "android_webview/native/intercepted_request_data_impl.h"
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 97
98 class ClientMapEntryUpdater : public content::WebContentsObserver { 98 class ClientMapEntryUpdater : public content::WebContentsObserver {
99 public: 99 public:
100 ClientMapEntryUpdater(JNIEnv* env, WebContents* web_contents, 100 ClientMapEntryUpdater(JNIEnv* env, WebContents* web_contents,
101 jobject jdelegate); 101 jobject jdelegate);
102 102
103 virtual void RenderViewCreated(RenderViewHost* render_view_host) OVERRIDE; 103 virtual void RenderViewCreated(RenderViewHost* render_view_host) OVERRIDE;
104 virtual void RenderViewForInterstitialPageCreated( 104 virtual void RenderViewForInterstitialPageCreated(
105 RenderViewHost* render_view_host) OVERRIDE; 105 RenderViewHost* render_view_host) OVERRIDE;
106 virtual void RenderViewDeleted(RenderViewHost* render_view_host) OVERRIDE; 106 virtual void RenderViewDeleted(RenderViewHost* render_view_host) OVERRIDE;
107 virtual void WebContentsDestroyed(WebContents* web_contents); 107 virtual void WebContentsDestroyed(WebContents* web_contents) OVERRIDE;
108 108
109 private: 109 private:
110 JavaObjectWeakGlobalRef jdelegate_; 110 JavaObjectWeakGlobalRef jdelegate_;
111 }; 111 };
112 112
113 ClientMapEntryUpdater::ClientMapEntryUpdater(JNIEnv* env, 113 ClientMapEntryUpdater::ClientMapEntryUpdater(JNIEnv* env,
114 WebContents* web_contents, 114 WebContents* web_contents,
115 jobject jdelegate) 115 jobject jdelegate)
116 : content::WebContentsObserver(web_contents), 116 : content::WebContentsObserver(web_contents),
117 jdelegate_(env, jdelegate) { 117 jdelegate_(env, jdelegate) {
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
289 289
290 Java_AwContentsIoThreadClient_newLoginRequest( 290 Java_AwContentsIoThreadClient_newLoginRequest(
291 env, java_object_.obj(), jrealm.obj(), jaccount.obj(), jargs.obj()); 291 env, java_object_.obj(), jrealm.obj(), jaccount.obj(), jargs.obj());
292 } 292 }
293 293
294 bool RegisterAwContentsIoThreadClientImpl(JNIEnv* env) { 294 bool RegisterAwContentsIoThreadClientImpl(JNIEnv* env) {
295 return RegisterNativesImpl(env); 295 return RegisterNativesImpl(env);
296 } 296 }
297 297
298 } // namespace android_webview 298 } // namespace android_webview
OLDNEW
« no previous file with comments | « android_webview/browser/net/android_stream_reader_url_request_job_unittest.cc ('k') | build/common.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698