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

Side by Side Diff: content/browser/mock_content_browser_client.h

Issue 10381051: Show the "cannot proceed" text only when appropriate. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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
« no previous file with comments | « chrome/browser/ssl/ssl_blocking_page.cc ('k') | content/browser/mock_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 CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_
6 #define CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_ 6 #define CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 virtual QuotaPermissionContext* CreateQuotaPermissionContext() OVERRIDE; 90 virtual QuotaPermissionContext* CreateQuotaPermissionContext() OVERRIDE;
91 virtual void OpenItem(const FilePath& path) OVERRIDE; 91 virtual void OpenItem(const FilePath& path) OVERRIDE;
92 virtual void ShowItemInFolder(const FilePath& path) OVERRIDE; 92 virtual void ShowItemInFolder(const FilePath& path) OVERRIDE;
93 virtual void AllowCertificateError( 93 virtual void AllowCertificateError(
94 int render_process_id, 94 int render_process_id,
95 int render_view_id, 95 int render_view_id,
96 int cert_error, 96 int cert_error,
97 const net::SSLInfo& ssl_info, 97 const net::SSLInfo& ssl_info,
98 const GURL& request_url, 98 const GURL& request_url,
99 bool overridable, 99 bool overridable,
100 bool strict_enforcement,
100 const base::Callback<void(bool)>& callback, 101 const base::Callback<void(bool)>& callback,
101 bool* cancel_request) OVERRIDE; 102 bool* cancel_request) OVERRIDE;
102 virtual void SelectClientCertificate( 103 virtual void SelectClientCertificate(
103 int render_process_id, 104 int render_process_id,
104 int render_view_id, 105 int render_view_id,
105 const net::HttpNetworkSession* network_session, 106 const net::HttpNetworkSession* network_session,
106 net::SSLCertRequestInfo* cert_request_info, 107 net::SSLCertRequestInfo* cert_request_info,
107 const base::Callback<void(net::X509Certificate*)>& callback) OVERRIDE; 108 const base::Callback<void(net::X509Certificate*)>& callback) OVERRIDE;
108 virtual void AddNewCertificate( 109 virtual void AddNewCertificate(
109 net::URLRequest* request, 110 net::URLRequest* request,
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 private: 182 private:
182 // Temporary directory for GetDefaultDownloadDirectory. 183 // Temporary directory for GetDefaultDownloadDirectory.
183 ScopedTempDir download_dir_; 184 ScopedTempDir download_dir_;
184 185
185 DISALLOW_COPY_AND_ASSIGN(MockContentBrowserClient); 186 DISALLOW_COPY_AND_ASSIGN(MockContentBrowserClient);
186 }; 187 };
187 188
188 } // namespace content 189 } // namespace content
189 190
190 #endif // CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_ 191 #endif // CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « chrome/browser/ssl/ssl_blocking_page.cc ('k') | content/browser/mock_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698