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

Side by Side Diff: content/shell/shell_content_browser_client.cc

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
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 "content/shell/shell_content_browser_client.h" 5 #include "content/shell/shell_content_browser_client.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/file_path.h" 8 #include "base/file_path.h"
9 #include "content/public/browser/resource_dispatcher_host.h" 9 #include "content/public/browser/resource_dispatcher_host.h"
10 #include "content/shell/shell.h" 10 #include "content/shell/shell.h"
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 void ShellContentBrowserClient::ShowItemInFolder(const FilePath& path) { 192 void ShellContentBrowserClient::ShowItemInFolder(const FilePath& path) {
193 } 193 }
194 194
195 void ShellContentBrowserClient::AllowCertificateError( 195 void ShellContentBrowserClient::AllowCertificateError(
196 int render_process_id, 196 int render_process_id,
197 int render_view_id, 197 int render_view_id,
198 int cert_error, 198 int cert_error,
199 const net::SSLInfo& ssl_info, 199 const net::SSLInfo& ssl_info,
200 const GURL& request_url, 200 const GURL& request_url,
201 bool overridable, 201 bool overridable,
202 bool strict_enforcement,
202 const base::Callback<void(bool)>& callback, 203 const base::Callback<void(bool)>& callback,
203 bool* cancel_request) { 204 bool* cancel_request) {
204 } 205 }
205 206
206 void ShellContentBrowserClient::SelectClientCertificate( 207 void ShellContentBrowserClient::SelectClientCertificate(
207 int render_process_id, 208 int render_process_id,
208 int render_view_id, 209 int render_view_id,
209 const net::HttpNetworkSession* network_session, 210 const net::HttpNetworkSession* network_session,
210 net::SSLCertRequestInfo* cert_request_info, 211 net::SSLCertRequestInfo* cert_request_info,
211 const base::Callback<void(net::X509Certificate*)>& callback) { 212 const base::Callback<void(net::X509Certificate*)>& callback) {
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
353 ShellContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { 354 ShellContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) {
354 return NULL; 355 return NULL;
355 } 356 }
356 #endif 357 #endif
357 358
358 ShellBrowserContext* ShellContentBrowserClient::browser_context() { 359 ShellBrowserContext* ShellContentBrowserClient::browser_context() {
359 return shell_browser_main_parts_->browser_context(); 360 return shell_browser_main_parts_->browser_context();
360 } 361 }
361 362
362 } // namespace content 363 } // namespace content
OLDNEW
« no previous file with comments | « content/shell/shell_content_browser_client.h ('k') | ui/views/examples/content_client/examples_content_browser_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698