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

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

Issue 450833002: Add additional UMA stats for remembering certificate decisions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase on ToT Created 6 years, 4 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/browser/aw_content_browser_client.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 #ifndef ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_
6 #define ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ 6 #define ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_
7 7
8 #include "android_webview/browser/aw_web_preferences_populater.h" 8 #include "android_webview/browser/aw_web_preferences_populater.h"
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 CreateQuotaPermissionContext() OVERRIDE; 93 CreateQuotaPermissionContext() OVERRIDE;
94 virtual void AllowCertificateError( 94 virtual void AllowCertificateError(
95 int render_process_id, 95 int render_process_id,
96 int render_frame_id, 96 int render_frame_id,
97 int cert_error, 97 int cert_error,
98 const net::SSLInfo& ssl_info, 98 const net::SSLInfo& ssl_info,
99 const GURL& request_url, 99 const GURL& request_url,
100 content::ResourceType resource_type, 100 content::ResourceType resource_type,
101 bool overridable, 101 bool overridable,
102 bool strict_enforcement, 102 bool strict_enforcement,
103 bool expired_previous_decision,
103 const base::Callback<void(bool)>& callback, 104 const base::Callback<void(bool)>& callback,
104 content::CertificateRequestResultType* result) OVERRIDE; 105 content::CertificateRequestResultType* result) OVERRIDE;
105 virtual void SelectClientCertificate( 106 virtual void SelectClientCertificate(
106 int render_process_id, 107 int render_process_id,
107 int render_frame_id, 108 int render_frame_id,
108 const net::HttpNetworkSession* network_session, 109 const net::HttpNetworkSession* network_session,
109 net::SSLCertRequestInfo* cert_request_info, 110 net::SSLCertRequestInfo* cert_request_info,
110 const base::Callback<void(net::X509Certificate*)>& callback) OVERRIDE; 111 const base::Callback<void(net::X509Certificate*)>& callback) OVERRIDE;
111 virtual blink::WebNotificationPermission 112 virtual blink::WebNotificationPermission
112 CheckDesktopNotificationPermission( 113 CheckDesktopNotificationPermission(
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 scoped_ptr<AwWebPreferencesPopulater> preferences_populater_; 189 scoped_ptr<AwWebPreferencesPopulater> preferences_populater_;
189 190
190 JniDependencyFactory* native_factory_; 191 JniDependencyFactory* native_factory_;
191 192
192 DISALLOW_COPY_AND_ASSIGN(AwContentBrowserClient); 193 DISALLOW_COPY_AND_ASSIGN(AwContentBrowserClient);
193 }; 194 };
194 195
195 } // namespace android_webview 196 } // namespace android_webview
196 197
197 #endif // ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ 198 #endif // ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « no previous file | android_webview/browser/aw_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698