| OLD | NEW |
| 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/public/browser/content_browser_client.h" | 5 #include "content/public/browser/content_browser_client.h" |
| 6 | 6 |
| 7 #include "base/file_path.h" | 7 #include "base/file_path.h" |
| 8 #include "googleurl/src/gurl.h" | 8 #include "googleurl/src/gurl.h" |
| 9 #include "ui/gfx/image/image_skia.h" | 9 #include "ui/gfx/image/image_skia.h" |
| 10 | 10 |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 const GURL& site_url) { | 77 const GURL& site_url) { |
| 78 return true; | 78 return true; |
| 79 } | 79 } |
| 80 | 80 |
| 81 bool ContentBrowserClient::ShouldTryToUseExistingProcessHost( | 81 bool ContentBrowserClient::ShouldTryToUseExistingProcessHost( |
| 82 BrowserContext* browser_context, const GURL& url) { | 82 BrowserContext* browser_context, const GURL& url) { |
| 83 return false; | 83 return false; |
| 84 } | 84 } |
| 85 | 85 |
| 86 bool ContentBrowserClient::ShouldSwapProcessesForNavigation( | 86 bool ContentBrowserClient::ShouldSwapProcessesForNavigation( |
| 87 SiteInstance* site_instance, |
| 87 const GURL& current_url, | 88 const GURL& current_url, |
| 88 const GURL& new_url) { | 89 const GURL& new_url) { |
| 89 return false; | 90 return false; |
| 90 } | 91 } |
| 91 | 92 |
| 92 bool ContentBrowserClient::ShouldSwapProcessesForRedirect( | 93 bool ContentBrowserClient::ShouldSwapProcessesForRedirect( |
| 93 ResourceContext* resource_context, const GURL& current_url, | 94 ResourceContext* resource_context, const GURL& current_url, |
| 94 const GURL& new_url) { | 95 const GURL& new_url) { |
| 95 return false; | 96 return false; |
| 96 } | 97 } |
| (...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 282 #endif | 283 #endif |
| 283 | 284 |
| 284 #if defined(USE_NSS) | 285 #if defined(USE_NSS) |
| 285 crypto::CryptoModuleBlockingPasswordDelegate* | 286 crypto::CryptoModuleBlockingPasswordDelegate* |
| 286 ContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { | 287 ContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { |
| 287 return NULL; | 288 return NULL; |
| 288 } | 289 } |
| 289 #endif | 290 #endif |
| 290 | 291 |
| 291 } // namespace content | 292 } // namespace content |
| OLD | NEW |