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

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

Issue 625533002: Respect content settings for Service Worker registration (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@testing
Patch Set: sync Created 6 years, 2 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 | « 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) 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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 const std::string& alias_name) OVERRIDE; 116 const std::string& alias_name) OVERRIDE;
117 virtual void AppendExtraCommandLineSwitches(base::CommandLine* command_line, 117 virtual void AppendExtraCommandLineSwitches(base::CommandLine* command_line,
118 int child_process_id) OVERRIDE; 118 int child_process_id) OVERRIDE;
119 virtual std::string GetApplicationLocale() OVERRIDE; 119 virtual std::string GetApplicationLocale() OVERRIDE;
120 virtual std::string GetAcceptLangs( 120 virtual std::string GetAcceptLangs(
121 content::BrowserContext* context) OVERRIDE; 121 content::BrowserContext* context) OVERRIDE;
122 virtual const gfx::ImageSkia* GetDefaultFavicon() OVERRIDE; 122 virtual const gfx::ImageSkia* GetDefaultFavicon() OVERRIDE;
123 virtual bool AllowAppCache(const GURL& manifest_url, 123 virtual bool AllowAppCache(const GURL& manifest_url,
124 const GURL& first_party, 124 const GURL& first_party,
125 content::ResourceContext* context) OVERRIDE; 125 content::ResourceContext* context) OVERRIDE;
126 virtual bool AllowServiceWorker(const GURL& scope,
127 const GURL& first_party,
128 content::ResourceContext* context) OVERRIDE;
126 virtual bool AllowGetCookie(const GURL& url, 129 virtual bool AllowGetCookie(const GURL& url,
127 const GURL& first_party, 130 const GURL& first_party,
128 const net::CookieList& cookie_list, 131 const net::CookieList& cookie_list,
129 content::ResourceContext* context, 132 content::ResourceContext* context,
130 int render_process_id, 133 int render_process_id,
131 int render_frame_id) OVERRIDE; 134 int render_frame_id) OVERRIDE;
132 virtual bool AllowSetCookie(const GURL& url, 135 virtual bool AllowSetCookie(const GURL& url,
133 const GURL& first_party, 136 const GURL& first_party,
134 const std::string& cookie_line, 137 const std::string& cookie_line,
135 content::ResourceContext* context, 138 content::ResourceContext* context,
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
352 std::vector<ChromeContentBrowserClientParts*> extra_parts_; 355 std::vector<ChromeContentBrowserClientParts*> extra_parts_;
353 356
354 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; 357 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_;
355 358
356 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); 359 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient);
357 }; 360 };
358 361
359 } // namespace chrome 362 } // namespace chrome
360 363
361 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 364 #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