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 "build/build_config.h" | 9 #include "build/build_config.h" |
10 #include "content/public/browser/client_certificate_delegate.h" | 10 #include "content/public/browser/client_certificate_delegate.h" |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 BrowserContext* browser_context, | 121 BrowserContext* browser_context, |
122 const GURL& current_url, | 122 const GURL& current_url, |
123 const GURL& new_url) { | 123 const GURL& new_url) { |
124 return false; | 124 return false; |
125 } | 125 } |
126 | 126 |
127 bool ContentBrowserClient::ShouldAssignSiteForURL(const GURL& url) { | 127 bool ContentBrowserClient::ShouldAssignSiteForURL(const GURL& url) { |
128 return true; | 128 return true; |
129 } | 129 } |
130 | 130 |
131 std::string ContentBrowserClient::GetCanonicalEncodingNameByAliasName( | |
132 const std::string& alias_name) { | |
133 return std::string(); | |
134 } | |
135 | |
136 std::string ContentBrowserClient::GetApplicationLocale() { | 131 std::string ContentBrowserClient::GetApplicationLocale() { |
137 return "en-US"; | 132 return "en-US"; |
138 } | 133 } |
139 | 134 |
140 std::string ContentBrowserClient::GetAcceptLangs(BrowserContext* context) { | 135 std::string ContentBrowserClient::GetAcceptLangs(BrowserContext* context) { |
141 return std::string(); | 136 return std::string(); |
142 } | 137 } |
143 | 138 |
144 const gfx::ImageSkia* ContentBrowserClient::GetDefaultFavicon() { | 139 const gfx::ImageSkia* ContentBrowserClient::GetDefaultFavicon() { |
145 static gfx::ImageSkia* empty = new gfx::ImageSkia(); | 140 static gfx::ImageSkia* empty = new gfx::ImageSkia(); |
(...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
440 | 435 |
441 bool ContentBrowserClient::ShouldRedirectDOMStorageTaskRunner() { | 436 bool ContentBrowserClient::ShouldRedirectDOMStorageTaskRunner() { |
442 return false; | 437 return false; |
443 } | 438 } |
444 | 439 |
445 bool ContentBrowserClient::RedirectNonUINonIOBrowserThreadsToTaskScheduler() { | 440 bool ContentBrowserClient::RedirectNonUINonIOBrowserThreadsToTaskScheduler() { |
446 return false; | 441 return false; |
447 } | 442 } |
448 | 443 |
449 } // namespace content | 444 } // namespace content |
OLD | NEW |