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

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

Issue 302653006: Remove use of ResourceRequestInfo::GetRequestID from cert enrollment. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 #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 13 matching lines...) Expand all
24 // This is what AwContentBrowserClient::GetAcceptLangs uses. 24 // This is what AwContentBrowserClient::GetAcceptLangs uses.
25 static std::string GetAcceptLangsImpl(); 25 static std::string GetAcceptLangsImpl();
26 26
27 // Deprecated: use AwBrowserContext::GetDefault() instead. 27 // Deprecated: use AwBrowserContext::GetDefault() instead.
28 static AwBrowserContext* GetAwBrowserContext(); 28 static AwBrowserContext* GetAwBrowserContext();
29 29
30 AwContentBrowserClient(JniDependencyFactory* native_factory); 30 AwContentBrowserClient(JniDependencyFactory* native_factory);
31 virtual ~AwContentBrowserClient(); 31 virtual ~AwContentBrowserClient();
32 32
33 // Overriden methods from ContentBrowserClient. 33 // Overriden methods from ContentBrowserClient.
34 virtual void AddCertificate(net::URLRequest* request, 34 virtual void AddCertificate(net::CertificateMimeType cert_type,
35 net::CertificateMimeType cert_type,
36 const void* cert_data, 35 const void* cert_data,
37 size_t cert_size, 36 size_t cert_size,
38 int render_process_id, 37 int render_process_id,
39 int render_view_id) OVERRIDE; 38 int render_frame_id) OVERRIDE;
40 virtual content::BrowserMainParts* CreateBrowserMainParts( 39 virtual content::BrowserMainParts* CreateBrowserMainParts(
41 const content::MainFunctionParams& parameters) OVERRIDE; 40 const content::MainFunctionParams& parameters) OVERRIDE;
42 virtual content::WebContentsViewDelegate* GetWebContentsViewDelegate( 41 virtual content::WebContentsViewDelegate* GetWebContentsViewDelegate(
43 content::WebContents* web_contents) OVERRIDE; 42 content::WebContents* web_contents) OVERRIDE;
44 virtual void RenderProcessWillLaunch( 43 virtual void RenderProcessWillLaunch(
45 content::RenderProcessHost* host) OVERRIDE; 44 content::RenderProcessHost* host) OVERRIDE;
46 virtual net::URLRequestContextGetter* CreateRequestContext( 45 virtual net::URLRequestContextGetter* CreateRequestContext(
47 content::BrowserContext* browser_context, 46 content::BrowserContext* browser_context,
48 content::ProtocolHandlerMap* protocol_handlers, 47 content::ProtocolHandlerMap* protocol_handlers,
49 content::ProtocolHandlerScopedVector protocol_interceptors) OVERRIDE; 48 content::ProtocolHandlerScopedVector protocol_interceptors) OVERRIDE;
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 scoped_ptr<AwWebPreferencesPopulater> preferences_populater_; 172 scoped_ptr<AwWebPreferencesPopulater> preferences_populater_;
174 173
175 JniDependencyFactory* native_factory_; 174 JniDependencyFactory* native_factory_;
176 175
177 DISALLOW_COPY_AND_ASSIGN(AwContentBrowserClient); 176 DISALLOW_COPY_AND_ASSIGN(AwContentBrowserClient);
178 }; 177 };
179 178
180 } // namespace android_webview 179 } // namespace android_webview
181 180
182 #endif // ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ 181 #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') | chrome/browser/ssl/ssl_add_certificate.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698