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

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

Issue 7066039: Remove dependency on PrefChangeRegistrar and renderer_preferences_util from content. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 7 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/browser/content_browser_client.h" 5 #include "content/browser/content_browser_client.h"
6 6
7 #include "base/memory/singleton.h" 7 #include "base/memory/singleton.h"
8 #include "content/browser/webui/empty_web_ui_factory.h" 8 #include "content/browser/webui/empty_web_ui_factory.h"
9 #include "googleurl/src/gurl.h" 9 #include "googleurl/src/gurl.h"
10 10
(...skipping 19 matching lines...) Expand all
30 } 30 }
31 31
32 GURL ContentBrowserClient::GetEffectiveURL(Profile* profile, const GURL& url) { 32 GURL ContentBrowserClient::GetEffectiveURL(Profile* profile, const GURL& url) {
33 return url; 33 return url;
34 } 34 }
35 35
36 bool ContentBrowserClient::IsURLSameAsAnySiteInstance(const GURL& url) { 36 bool ContentBrowserClient::IsURLSameAsAnySiteInstance(const GURL& url) {
37 return false; 37 return false;
38 } 38 }
39 39
40 GURL ContentBrowserClient::GetAlternateErrorPageURL(const TabContents* tab) {
41 return GURL();
42 }
43
44 std::string ContentBrowserClient::GetCanonicalEncodingNameByAliasName( 40 std::string ContentBrowserClient::GetCanonicalEncodingNameByAliasName(
45 const std::string& alias_name) { 41 const std::string& alias_name) {
46 return alias_name; 42 return alias_name;
47 } 43 }
48 44
49 void ContentBrowserClient::AppendExtraCommandLineSwitches( 45 void ContentBrowserClient::AppendExtraCommandLineSwitches(
50 CommandLine* command_line, int child_process_id) { 46 CommandLine* command_line, int child_process_id) {
51 } 47 }
52 48
53 std::string ContentBrowserClient::GetApplicationLocale() { 49 std::string ContentBrowserClient::GetApplicationLocale() {
(...skipping 26 matching lines...) Expand all
80 return true; 76 return true;
81 } 77 }
82 78
83 #if defined(OS_LINUX) 79 #if defined(OS_LINUX)
84 int ContentBrowserClient::GetCrashSignalFD(const std::string& process_type) { 80 int ContentBrowserClient::GetCrashSignalFD(const std::string& process_type) {
85 return -1; 81 return -1;
86 } 82 }
87 #endif 83 #endif
88 84
89 } // namespace content 85 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/content_browser_client.h ('k') | content/browser/renderer_host/render_message_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698