Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(72)

Side by Side Diff: content/public/browser/content_browser_client.cc

Issue 2578003002: Move |GetCanonicalEncodingNameByAliasName| to base/i18n (Closed)
Patch Set: rebased Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/public/browser/content_browser_client.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « content/public/browser/content_browser_client.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698