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

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

Issue 1858633003: bluetooth: Populate Web Bluetooth blacklist from variations:: parameter. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressed jam comments Created 4 years, 8 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 <set> 10 #include <set>
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 void AllowWorkerFileSystem( 153 void AllowWorkerFileSystem(
154 const GURL& url, 154 const GURL& url,
155 content::ResourceContext* context, 155 content::ResourceContext* context,
156 const std::vector<std::pair<int, int>>& render_frames, 156 const std::vector<std::pair<int, int>>& render_frames,
157 base::Callback<void(bool)> callback) override; 157 base::Callback<void(bool)> callback) override;
158 bool AllowWorkerIndexedDB( 158 bool AllowWorkerIndexedDB(
159 const GURL& url, 159 const GURL& url,
160 const base::string16& name, 160 const base::string16& name,
161 content::ResourceContext* context, 161 content::ResourceContext* context,
162 const std::vector<std::pair<int, int>>& render_frames) override; 162 const std::vector<std::pair<int, int>>& render_frames) override;
163
164 #if defined(ENABLE_WEBRTC) 163 #if defined(ENABLE_WEBRTC)
165 bool AllowWebRTCIdentityCache(const GURL& url, 164 bool AllowWebRTCIdentityCache(const GURL& url,
166 const GURL& first_party_url, 165 const GURL& first_party_url,
167 content::ResourceContext* context) override; 166 content::ResourceContext* context) override;
168 #endif // defined(ENABLE_WEBRTC) 167 #endif // defined(ENABLE_WEBRTC)
169
170 bool AllowKeygen(const GURL& url, content::ResourceContext* context) override; 168 bool AllowKeygen(const GURL& url, content::ResourceContext* context) override;
171 AllowWebBluetoothResult AllowWebBluetooth( 169 AllowWebBluetoothResult AllowWebBluetooth(
172 content::BrowserContext* browser_context, 170 content::BrowserContext* browser_context,
173 const url::Origin& requesting_origin, 171 const url::Origin& requesting_origin,
174 const url::Origin& embedding_origin) override; 172 const url::Origin& embedding_origin) override;
175 173 std::string GetWebBluetoothBlacklist() override;
176 net::URLRequestContext* OverrideRequestContextForURL( 174 net::URLRequestContext* OverrideRequestContextForURL(
177 const GURL& url, 175 const GURL& url,
178 content::ResourceContext* context) override; 176 content::ResourceContext* context) override;
179 content::QuotaPermissionContext* CreateQuotaPermissionContext() override; 177 content::QuotaPermissionContext* CreateQuotaPermissionContext() override;
180 scoped_ptr<storage::QuotaEvictionPolicy> GetTemporaryStorageEvictionPolicy( 178 scoped_ptr<storage::QuotaEvictionPolicy> GetTemporaryStorageEvictionPolicy(
181 content::BrowserContext* context) override; 179 content::BrowserContext* context) override;
182 void AllowCertificateError( 180 void AllowCertificateError(
183 content::WebContents* web_contents, 181 content::WebContents* web_contents,
184 int cert_error, 182 int cert_error,
185 const net::SSLInfo& ssl_info, 183 const net::SSLInfo& ssl_info,
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
348 // Vector of additional ChromeContentBrowserClientParts. 346 // Vector of additional ChromeContentBrowserClientParts.
349 // Parts are deleted in the reverse order they are added. 347 // Parts are deleted in the reverse order they are added.
350 std::vector<ChromeContentBrowserClientParts*> extra_parts_; 348 std::vector<ChromeContentBrowserClientParts*> extra_parts_;
351 349
352 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; 350 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_;
353 351
354 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); 352 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient);
355 }; 353 };
356 354
357 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 355 #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