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

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

Issue 1110323005: Expose SW accesses in "Cookies set by this page" UI (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix compile Created 5 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
« 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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 void AppendExtraCommandLineSwitches(base::CommandLine* command_line, 113 void AppendExtraCommandLineSwitches(base::CommandLine* command_line,
114 int child_process_id) override; 114 int child_process_id) override;
115 std::string GetApplicationLocale() override; 115 std::string GetApplicationLocale() override;
116 std::string GetAcceptLangs(content::BrowserContext* context) override; 116 std::string GetAcceptLangs(content::BrowserContext* context) override;
117 const gfx::ImageSkia* GetDefaultFavicon() override; 117 const gfx::ImageSkia* GetDefaultFavicon() override;
118 bool AllowAppCache(const GURL& manifest_url, 118 bool AllowAppCache(const GURL& manifest_url,
119 const GURL& first_party, 119 const GURL& first_party,
120 content::ResourceContext* context) override; 120 content::ResourceContext* context) override;
121 bool AllowServiceWorker(const GURL& scope, 121 bool AllowServiceWorker(const GURL& scope,
122 const GURL& first_party, 122 const GURL& first_party,
123 content::ResourceContext* context) override; 123 content::ResourceContext* context,
124 int render_process_id,
125 int render_frame_id) override;
124 bool AllowGetCookie(const GURL& url, 126 bool AllowGetCookie(const GURL& url,
125 const GURL& first_party, 127 const GURL& first_party,
126 const net::CookieList& cookie_list, 128 const net::CookieList& cookie_list,
127 content::ResourceContext* context, 129 content::ResourceContext* context,
128 int render_process_id, 130 int render_process_id,
129 int render_frame_id) override; 131 int render_frame_id) override;
130 bool AllowSetCookie(const GURL& url, 132 bool AllowSetCookie(const GURL& url,
131 const GURL& first_party, 133 const GURL& first_party,
132 const std::string& cookie_line, 134 const std::string& cookie_line,
133 content::ResourceContext* context, 135 content::ResourceContext* context,
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
310 std::vector<ChromeContentBrowserClientParts*> extra_parts_; 312 std::vector<ChromeContentBrowserClientParts*> extra_parts_;
311 313
312 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; 314 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_;
313 315
314 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); 316 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient);
315 }; 317 };
316 318
317 } // namespace chrome 319 } // namespace chrome
318 320
319 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 321 #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