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

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

Issue 2888373003: Clean up unused ContentBrowserClient methods that access cookie settings. (Closed)
Patch Set: Created 3 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 <stddef.h> 8 #include <stddef.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 content::ResourceContext* context, 146 content::ResourceContext* context,
147 int render_process_id, 147 int render_process_id,
148 int render_frame_id) override; 148 int render_frame_id) override;
149 bool AllowSetCookie(const GURL& url, 149 bool AllowSetCookie(const GURL& url,
150 const GURL& first_party, 150 const GURL& first_party,
151 const std::string& cookie_line, 151 const std::string& cookie_line,
152 content::ResourceContext* context, 152 content::ResourceContext* context,
153 int render_process_id, 153 int render_process_id,
154 int render_frame_id, 154 int render_frame_id,
155 const net::CookieOptions& options) override; 155 const net::CookieOptions& options) override;
156 bool AllowSaveLocalState(content::ResourceContext* context) override;
157 void AllowWorkerFileSystem( 156 void AllowWorkerFileSystem(
158 const GURL& url, 157 const GURL& url,
159 content::ResourceContext* context, 158 content::ResourceContext* context,
160 const std::vector<std::pair<int, int>>& render_frames, 159 const std::vector<std::pair<int, int>>& render_frames,
161 base::Callback<void(bool)> callback) override; 160 base::Callback<void(bool)> callback) override;
162 bool AllowWorkerIndexedDB( 161 bool AllowWorkerIndexedDB(
163 const GURL& url, 162 const GURL& url,
164 const base::string16& name, 163 const base::string16& name,
165 content::ResourceContext* context, 164 content::ResourceContext* context,
166 const std::vector<std::pair<int, int>>& render_frames) override; 165 const std::vector<std::pair<int, int>>& render_frames) override;
167 #if BUILDFLAG(ENABLE_WEBRTC)
168 bool AllowWebRTCIdentityCache(const GURL& url,
169 const GURL& first_party_url,
170 content::ResourceContext* context) override;
171 #endif // BUILDFLAG(ENABLE_WEBRTC)
172 AllowWebBluetoothResult AllowWebBluetooth( 166 AllowWebBluetoothResult AllowWebBluetooth(
173 content::BrowserContext* browser_context, 167 content::BrowserContext* browser_context,
174 const url::Origin& requesting_origin, 168 const url::Origin& requesting_origin,
175 const url::Origin& embedding_origin) override; 169 const url::Origin& embedding_origin) override;
176 std::string GetWebBluetoothBlocklist() override; 170 std::string GetWebBluetoothBlocklist() override;
177 net::URLRequestContext* OverrideRequestContextForURL( 171 net::URLRequestContext* OverrideRequestContextForURL(
178 const GURL& url, 172 const GURL& url,
179 content::ResourceContext* context) override; 173 content::ResourceContext* context) override;
180 content::QuotaPermissionContext* CreateQuotaPermissionContext() override; 174 content::QuotaPermissionContext* CreateQuotaPermissionContext() override;
181 void GetQuotaSettings( 175 void GetQuotaSettings(
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
386 std::vector<ChromeContentBrowserClientParts*> extra_parts_; 380 std::vector<ChromeContentBrowserClientParts*> extra_parts_;
387 381
388 service_manager::BinderRegistry gpu_binder_registry_; 382 service_manager::BinderRegistry gpu_binder_registry_;
389 383
390 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; 384 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_;
391 385
392 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); 386 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient);
393 }; 387 };
394 388
395 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 389 #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