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

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

Issue 7068034: Remove the last prefs code from content. I tried hard to move ShouldShowBookmarkBar out of TabCo... (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
« no previous file with comments | « content/browser/content_browser_client.h ('k') | content/browser/tab_contents/tab_contents.h » ('j') | 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) 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 } 43 }
44 44
45 void ContentBrowserClient::AppendExtraCommandLineSwitches( 45 void ContentBrowserClient::AppendExtraCommandLineSwitches(
46 CommandLine* command_line, int child_process_id) { 46 CommandLine* command_line, int child_process_id) {
47 } 47 }
48 48
49 std::string ContentBrowserClient::GetApplicationLocale() { 49 std::string ContentBrowserClient::GetApplicationLocale() {
50 return std::string(); 50 return std::string();
51 } 51 }
52 52
53 std::string ContentBrowserClient::GetAcceptLangs(const TabContents* tab) {
54 return std::string();
55 }
56
53 bool ContentBrowserClient::AllowAppCache( 57 bool ContentBrowserClient::AllowAppCache(
54 const GURL& manifest_url, const content::ResourceContext& context) { 58 const GURL& manifest_url, const content::ResourceContext& context) {
55 return true; 59 return true;
56 } 60 }
57 61
58 bool ContentBrowserClient::AllowGetCookie( 62 bool ContentBrowserClient::AllowGetCookie(
59 const GURL& url, 63 const GURL& url,
60 const GURL& first_party, 64 const GURL& first_party,
61 const net::CookieList& cookie_list, 65 const net::CookieList& cookie_list,
62 const content::ResourceContext& context, 66 const content::ResourceContext& context,
(...skipping 13 matching lines...) Expand all
76 return true; 80 return true;
77 } 81 }
78 82
79 #if defined(OS_LINUX) 83 #if defined(OS_LINUX)
80 int ContentBrowserClient::GetCrashSignalFD(const std::string& process_type) { 84 int ContentBrowserClient::GetCrashSignalFD(const std::string& process_type) {
81 return -1; 85 return -1;
82 } 86 }
83 #endif 87 #endif
84 88
85 } // namespace content 89 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/content_browser_client.h ('k') | content/browser/tab_contents/tab_contents.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698