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 286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
432 std::unique_ptr<MemoryCoordinatorDelegate> | 427 std::unique_ptr<MemoryCoordinatorDelegate> |
433 ContentBrowserClient::GetMemoryCoordinatorDelegate() { | 428 ContentBrowserClient::GetMemoryCoordinatorDelegate() { |
434 return std::unique_ptr<MemoryCoordinatorDelegate>(); | 429 return std::unique_ptr<MemoryCoordinatorDelegate>(); |
435 } | 430 } |
436 | 431 |
437 ::rappor::RapporService* ContentBrowserClient::GetRapporService() { | 432 ::rappor::RapporService* ContentBrowserClient::GetRapporService() { |
438 return nullptr; | 433 return nullptr; |
439 } | 434 } |
440 | 435 |
441 } // namespace content | 436 } // namespace content |
OLD | NEW |