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

Side by Side Diff: chrome/browser/chrome_content_browser_client.h

Issue 7537025: Add new Content settings type AUTO-SUBMIT-CERTIFICATE (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: " Created 9 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string>
10
9 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
10 #include "content/browser/content_browser_client.h" 12 #include "content/browser/content_browser_client.h"
11 13
12 namespace chrome { 14 namespace chrome {
13 15
14 class ChromeContentBrowserClient : public content::ContentBrowserClient { 16 class ChromeContentBrowserClient : public content::ContentBrowserClient {
15 public: 17 public:
16 virtual void RenderViewHostCreated(RenderViewHost* render_view_host) OVERRIDE; 18 virtual void RenderViewHostCreated(RenderViewHost* render_view_host) OVERRIDE;
17 virtual void BrowserRenderProcessHostCreated( 19 virtual void BrowserRenderProcessHostCreated(
18 BrowserRenderProcessHost* host) OVERRIDE; 20 BrowserRenderProcessHost* host) OVERRIDE;
(...skipping 30 matching lines...) Expand all
49 virtual bool AllowSaveLocalState( 51 virtual bool AllowSaveLocalState(
50 const content::ResourceContext& context) OVERRIDE; 52 const content::ResourceContext& context) OVERRIDE;
51 virtual net::URLRequestContext* OverrideRequestContextForURL( 53 virtual net::URLRequestContext* OverrideRequestContextForURL(
52 const GURL& url, const content::ResourceContext& context) OVERRIDE; 54 const GURL& url, const content::ResourceContext& context) OVERRIDE;
53 virtual QuotaPermissionContext* CreateQuotaPermissionContext() OVERRIDE; 55 virtual QuotaPermissionContext* CreateQuotaPermissionContext() OVERRIDE;
54 virtual void RevealFolderInOS(const FilePath& path) OVERRIDE; 56 virtual void RevealFolderInOS(const FilePath& path) OVERRIDE;
55 virtual void AllowCertificateError( 57 virtual void AllowCertificateError(
56 SSLCertErrorHandler* handler, 58 SSLCertErrorHandler* handler,
57 bool overridable, 59 bool overridable,
58 Callback2<SSLCertErrorHandler*, bool>::Type* callback) OVERRIDE; 60 Callback2<SSLCertErrorHandler*, bool>::Type* callback) OVERRIDE;
59 virtual void ShowClientCertificateRequestDialog( 61 virtual void SelectClientCertificate(
60 int render_process_id, 62 int render_process_id,
61 int render_view_id, 63 int render_view_id,
62 SSLClientAuthHandler* handler) OVERRIDE; 64 SSLClientAuthHandler* handler) OVERRIDE;
63 virtual void AddNewCertificate( 65 virtual void AddNewCertificate(
64 net::URLRequest* request, 66 net::URLRequest* request,
65 net::X509Certificate* cert, 67 net::X509Certificate* cert,
66 int render_process_id, 68 int render_process_id,
67 int render_view_id) OVERRIDE; 69 int render_view_id) OVERRIDE;
68 virtual void RequestDesktopNotificationPermission( 70 virtual void RequestDesktopNotificationPermission(
69 const GURL& source_origin, 71 const GURL& source_origin,
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 #if defined(USE_NSS) 115 #if defined(USE_NSS)
114 virtual 116 virtual
115 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( 117 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate(
116 const GURL& url) OVERRIDE; 118 const GURL& url) OVERRIDE;
117 #endif 119 #endif
118 }; 120 };
119 121
120 } // namespace chrome 122 } // namespace chrome
121 123
122 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 124 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698