| 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/files/file_path.h" | 7 #include "base/files/file_path.h" |
| 8 #include "base/guid.h" | 8 #include "base/guid.h" |
| 9 #include "base/logging.h" | 9 #include "base/logging.h" |
| 10 #include "build/build_config.h" | 10 #include "build/build_config.h" |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 BrowserContext* browser_context, | 56 BrowserContext* browser_context, |
| 57 const GURL& effective_site_url) { | 57 const GURL& effective_site_url) { |
| 58 return false; | 58 return false; |
| 59 } | 59 } |
| 60 | 60 |
| 61 bool ContentBrowserClient::ShouldLockToOrigin(BrowserContext* browser_context, | 61 bool ContentBrowserClient::ShouldLockToOrigin(BrowserContext* browser_context, |
| 62 const GURL& effective_url) { | 62 const GURL& effective_url) { |
| 63 return true; | 63 return true; |
| 64 } | 64 } |
| 65 | 65 |
| 66 void ContentBrowserClient::GetAdditionalViewSourceSchemes( |
| 67 std::vector<std::string>* additional_schemes) { |
| 68 GetAdditionalWebUISchemes(additional_schemes); |
| 69 } |
| 70 |
| 66 bool ContentBrowserClient::LogWebUIUrl(const GURL& web_ui_url) const { | 71 bool ContentBrowserClient::LogWebUIUrl(const GURL& web_ui_url) const { |
| 67 return false; | 72 return false; |
| 68 } | 73 } |
| 69 | 74 |
| 70 bool ContentBrowserClient::IsHandledURL(const GURL& url) { | 75 bool ContentBrowserClient::IsHandledURL(const GURL& url) { |
| 71 return false; | 76 return false; |
| 72 } | 77 } |
| 73 | 78 |
| 74 bool ContentBrowserClient::CanCommitURL(RenderProcessHost* process_host, | 79 bool ContentBrowserClient::CanCommitURL(RenderProcessHost* process_host, |
| 75 const GURL& site_url) { | 80 const GURL& site_url) { |
| (...skipping 367 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 443 | 448 |
| 444 bool ContentBrowserClient::ShouldRedirectDOMStorageTaskRunner() { | 449 bool ContentBrowserClient::ShouldRedirectDOMStorageTaskRunner() { |
| 445 return false; | 450 return false; |
| 446 } | 451 } |
| 447 | 452 |
| 448 bool ContentBrowserClient::RedirectNonUINonIOBrowserThreadsToTaskScheduler() { | 453 bool ContentBrowserClient::RedirectNonUINonIOBrowserThreadsToTaskScheduler() { |
| 449 return false; | 454 return false; |
| 450 } | 455 } |
| 451 | 456 |
| 452 } // namespace content | 457 } // namespace content |
| OLD | NEW |