| 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 #include "content/browser/content_browser_client.h" | 5 #include "content/browser/content_browser_client.h" |
| 6 | 6 |
| 7 #include "base/memory/singleton.h" | 7 #include "base/memory/singleton.h" |
| 8 #include "content/browser/ssl/ssl_client_auth_handler.h" | 8 #include "content/browser/ssl/ssl_client_auth_handler.h" |
| 9 #include "content/browser/webui/empty_web_ui_factory.h" | 9 #include "content/browser/webui/empty_web_ui_factory.h" |
| 10 #include "googleurl/src/gurl.h" | 10 #include "googleurl/src/gurl.h" |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 103 handler->CertificateSelected(NULL); | 103 handler->CertificateSelected(NULL); |
| 104 } | 104 } |
| 105 | 105 |
| 106 void ContentBrowserClient::AddNewCertificate( | 106 void ContentBrowserClient::AddNewCertificate( |
| 107 net::URLRequest* request, | 107 net::URLRequest* request, |
| 108 net::X509Certificate* cert, | 108 net::X509Certificate* cert, |
| 109 int render_process_id, | 109 int render_process_id, |
| 110 int render_view_id) { | 110 int render_view_id) { |
| 111 } | 111 } |
| 112 | 112 |
| 113 bool ContentBrowserClient::CheckBackgroundPermission( |
| 114 const GURL& source_url, const content::ResourceContext& context) { |
| 115 return false; |
| 116 } |
| 117 |
| 118 std::string ContentBrowserClient::GetProcessHostTitle( |
| 119 const GURL& url, const content::ResourceContext& context) { |
| 120 return std::string(); |
| 121 } |
| 122 |
| 123 bool ContentBrowserClient::ShouldForceDownloadResource( |
| 124 const GURL& url, const std::string& mime_type) { |
| 125 return false; |
| 126 } |
| 113 #if defined(OS_POSIX) && !defined(OS_MACOSX) | 127 #if defined(OS_POSIX) && !defined(OS_MACOSX) |
| 114 int ContentBrowserClient::GetCrashSignalFD(const std::string& process_type) { | 128 int ContentBrowserClient::GetCrashSignalFD(const std::string& process_type) { |
| 115 return -1; | 129 return -1; |
| 116 } | 130 } |
| 117 #endif | 131 #endif |
| 118 | 132 |
| 119 } // namespace content | 133 } // namespace content |
| OLD | NEW |