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 #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 | 7 |
8 #include <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 #include <utility> | 10 #include <utility> |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
127 const GURL& current_url, | 127 const GURL& current_url, |
128 const GURL& new_url) OVERRIDE; | 128 const GURL& new_url) OVERRIDE; |
129 virtual bool ShouldAssignSiteForURL(const GURL& url) OVERRIDE; | 129 virtual bool ShouldAssignSiteForURL(const GURL& url) OVERRIDE; |
130 virtual std::string GetCanonicalEncodingNameByAliasName( | 130 virtual std::string GetCanonicalEncodingNameByAliasName( |
131 const std::string& alias_name) OVERRIDE; | 131 const std::string& alias_name) OVERRIDE; |
132 virtual void AppendExtraCommandLineSwitches(base::CommandLine* command_line, | 132 virtual void AppendExtraCommandLineSwitches(base::CommandLine* command_line, |
133 int child_process_id) OVERRIDE; | 133 int child_process_id) OVERRIDE; |
134 virtual std::string GetApplicationLocale() OVERRIDE; | 134 virtual std::string GetApplicationLocale() OVERRIDE; |
135 virtual std::string GetAcceptLangs( | 135 virtual std::string GetAcceptLangs( |
136 content::BrowserContext* context) OVERRIDE; | 136 content::BrowserContext* context) OVERRIDE; |
137 virtual gfx::ImageSkia* GetDefaultFavicon() OVERRIDE; | 137 virtual const gfx::ImageSkia* GetDefaultFavicon() OVERRIDE; |
138 virtual bool AllowAppCache(const GURL& manifest_url, | 138 virtual bool AllowAppCache(const GURL& manifest_url, |
139 const GURL& first_party, | 139 const GURL& first_party, |
140 content::ResourceContext* context) OVERRIDE; | 140 content::ResourceContext* context) OVERRIDE; |
141 virtual bool AllowGetCookie(const GURL& url, | 141 virtual bool AllowGetCookie(const GURL& url, |
142 const GURL& first_party, | 142 const GURL& first_party, |
143 const net::CookieList& cookie_list, | 143 const net::CookieList& cookie_list, |
144 content::ResourceContext* context, | 144 content::ResourceContext* context, |
145 int render_process_id, | 145 int render_process_id, |
146 int render_frame_id) OVERRIDE; | 146 int render_frame_id) OVERRIDE; |
147 virtual bool AllowSetCookie(const GURL& url, | 147 virtual bool AllowSetCookie(const GURL& url, |
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
313 prerender::PrerenderTracker* prerender_tracker_; | 313 prerender::PrerenderTracker* prerender_tracker_; |
314 | 314 |
315 friend class DisableWebRtcEncryptionFlagTest; | 315 friend class DisableWebRtcEncryptionFlagTest; |
316 | 316 |
317 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 317 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
318 }; | 318 }; |
319 | 319 |
320 } // namespace chrome | 320 } // namespace chrome |
321 | 321 |
322 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 322 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |