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

Side by Side Diff: chrome/browser/chrome_content_browser_client.h

Issue 8475024: Changed argument to GetAcceptLangs() to a BrowserContext. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merged to LKGR. Created 9 years, 1 month 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 | « no previous file | chrome/browser/chrome_content_browser_client.cc » ('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 #ifndef CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 25 matching lines...) Expand all
36 const GURL& url) OVERRIDE; 36 const GURL& url) OVERRIDE;
37 virtual void SiteInstanceGotProcess(SiteInstance* site_instance) OVERRIDE; 37 virtual void SiteInstanceGotProcess(SiteInstance* site_instance) OVERRIDE;
38 virtual void SiteInstanceDeleting(SiteInstance* site_instance) OVERRIDE; 38 virtual void SiteInstanceDeleting(SiteInstance* site_instance) OVERRIDE;
39 virtual bool ShouldSwapProcessesForNavigation(const GURL& current_url, 39 virtual bool ShouldSwapProcessesForNavigation(const GURL& current_url,
40 const GURL& new_url) OVERRIDE; 40 const GURL& new_url) OVERRIDE;
41 virtual std::string GetCanonicalEncodingNameByAliasName( 41 virtual std::string GetCanonicalEncodingNameByAliasName(
42 const std::string& alias_name) OVERRIDE; 42 const std::string& alias_name) OVERRIDE;
43 virtual void AppendExtraCommandLineSwitches(CommandLine* command_line, 43 virtual void AppendExtraCommandLineSwitches(CommandLine* command_line,
44 int child_process_id) OVERRIDE; 44 int child_process_id) OVERRIDE;
45 virtual std::string GetApplicationLocale() OVERRIDE; 45 virtual std::string GetApplicationLocale() OVERRIDE;
46 virtual std::string GetAcceptLangs(const TabContents* tab) OVERRIDE; 46 virtual std::string GetAcceptLangs(
47 content::BrowserContext* context) OVERRIDE;
47 virtual SkBitmap* GetDefaultFavicon() OVERRIDE; 48 virtual SkBitmap* GetDefaultFavicon() OVERRIDE;
48 virtual bool AllowAppCache(const GURL& manifest_url, 49 virtual bool AllowAppCache(const GURL& manifest_url,
49 const GURL& first_party, 50 const GURL& first_party,
50 const content::ResourceContext& context) OVERRIDE; 51 const content::ResourceContext& context) OVERRIDE;
51 virtual bool AllowGetCookie(const GURL& url, 52 virtual bool AllowGetCookie(const GURL& url,
52 const GURL& first_party, 53 const GURL& first_party,
53 const net::CookieList& cookie_list, 54 const net::CookieList& cookie_list,
54 const content::ResourceContext& context, 55 const content::ResourceContext& context,
55 int render_process_id, 56 int render_process_id,
56 int render_view_id) OVERRIDE; 57 int render_view_id) OVERRIDE;
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 #if defined(USE_NSS) 148 #if defined(USE_NSS)
148 virtual 149 virtual
149 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( 150 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate(
150 const GURL& url) OVERRIDE; 151 const GURL& url) OVERRIDE;
151 #endif 152 #endif
152 }; 153 };
153 154
154 } // namespace chrome 155 } // namespace chrome
155 156
156 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 157 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chrome_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698