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

Side by Side Diff: content/public/browser/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 | « content/browser/ssl/ssl_policy.cc ('k') | content/shell/shell_content_browser_client.h » ('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_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
6 #define CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 6 #define CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <utility> 10 #include <utility>
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 254
255 // Create and return a new quota permission context. 255 // Create and return a new quota permission context.
256 virtual QuotaPermissionContext* CreateQuotaPermissionContext() = 0; 256 virtual QuotaPermissionContext* CreateQuotaPermissionContext() = 0;
257 257
258 // Open the given file in the desktop's default manner. 258 // Open the given file in the desktop's default manner.
259 virtual void OpenItem(const FilePath& path) = 0; 259 virtual void OpenItem(const FilePath& path) = 0;
260 260
261 // Show the given file in a file manager. If possible, select the file. 261 // Show the given file in a file manager. If possible, select the file.
262 virtual void ShowItemInFolder(const FilePath& path) = 0; 262 virtual void ShowItemInFolder(const FilePath& path) = 0;
263 263
264 // Informs the embedder that a certificate error has occured. If overridable 264 // Informs the embedder that a certificate error has occured. If
265 // is true, the user can ignore the error and continue. If it's false, then 265 // |overridable| is true and if |strict_enforcement| is false, the user
266 // the certificate error is severe and the user isn't allowed to proceed. The 266 // can ignore the error and continue. The embedder can call the callback
267 // embedder can call the callback asynchronously. If |cancel_request| is set 267 // asynchronously. If |cancel_request| is set to true, the request will be
268 // to true, the request will be cancelled immediately and the callback won't 268 // cancelled immediately and the callback won't be run.
269 // be run.
270 virtual void AllowCertificateError( 269 virtual void AllowCertificateError(
271 int render_process_id, 270 int render_process_id,
272 int render_view_id, 271 int render_view_id,
273 int cert_error, 272 int cert_error,
274 const net::SSLInfo& ssl_info, 273 const net::SSLInfo& ssl_info,
275 const GURL& request_url, 274 const GURL& request_url,
276 bool overridable, 275 bool overridable,
276 bool strict_enforcement,
277 const base::Callback<void(bool)>& callback, 277 const base::Callback<void(bool)>& callback,
278 bool* cancel_request) = 0; 278 bool* cancel_request) = 0;
279 279
280 // Selects a SSL client certificate and returns it to the |callback|. If no 280 // Selects a SSL client certificate and returns it to the |callback|. If no
281 // certificate was selected NULL is returned to the |callback|. 281 // certificate was selected NULL is returned to the |callback|.
282 virtual void SelectClientCertificate( 282 virtual void SelectClientCertificate(
283 int render_process_id, 283 int render_process_id,
284 int render_view_id, 284 int render_view_id,
285 const net::HttpNetworkSession* network_session, 285 const net::HttpNetworkSession* network_session,
286 net::SSLCertRequestInfo* cert_request_info, 286 net::SSLCertRequestInfo* cert_request_info,
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
428 // This is called on a worker thread. 428 // This is called on a worker thread.
429 virtual 429 virtual
430 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( 430 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate(
431 const GURL& url) = 0; 431 const GURL& url) = 0;
432 #endif 432 #endif
433 }; 433 };
434 434
435 } // namespace content 435 } // namespace content
436 436
437 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 437 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « content/browser/ssl/ssl_policy.cc ('k') | content/shell/shell_content_browser_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698