| OLD | NEW |
| 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 "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "content/browser/content_browser_client.h" | 10 #include "content/browser/content_browser_client.h" |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 Callback2<SSLCertErrorHandler*, bool>::Type* callback) OVERRIDE; | 52 Callback2<SSLCertErrorHandler*, bool>::Type* callback) OVERRIDE; |
| 53 virtual void ShowClientCertificateRequestDialog( | 53 virtual void ShowClientCertificateRequestDialog( |
| 54 int render_process_id, | 54 int render_process_id, |
| 55 int render_view_id, | 55 int render_view_id, |
| 56 SSLClientAuthHandler* handler) OVERRIDE; | 56 SSLClientAuthHandler* handler) OVERRIDE; |
| 57 virtual void AddNewCertificate( | 57 virtual void AddNewCertificate( |
| 58 net::URLRequest* request, | 58 net::URLRequest* request, |
| 59 net::X509Certificate* cert, | 59 net::X509Certificate* cert, |
| 60 int render_process_id, | 60 int render_process_id, |
| 61 int render_view_id) OVERRIDE; | 61 int render_view_id) OVERRIDE; |
| 62 virtual bool CheckBackgroundPermission( |
| 63 const GURL& source_url, const content::ResourceContext& context) OVERRIDE; |
| 64 virtual std::string GetProcessHostTitle( |
| 65 const GURL& url, const content::ResourceContext& context) OVERRIDE; |
| 66 virtual bool ShouldForceDownloadResource( |
| 67 const GURL& url, const std::string& mime_type) OVERRIDE; |
| 62 #if defined(OS_POSIX) && !defined(OS_MACOSX) | 68 #if defined(OS_POSIX) && !defined(OS_MACOSX) |
| 63 // Can return an optional fd for crash handling, otherwise returns -1. | 69 // Can return an optional fd for crash handling, otherwise returns -1. |
| 64 virtual int GetCrashSignalFD(const std::string& process_type) OVERRIDE; | 70 virtual int GetCrashSignalFD(const std::string& process_type) OVERRIDE; |
| 65 #endif | 71 #endif |
| 66 }; | 72 }; |
| 67 | 73 |
| 68 } // namespace chrome | 74 } // namespace chrome |
| 69 | 75 |
| 70 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 76 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |