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

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

Issue 1841763002: Add a kill switch for all of Web Bluetooth. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkcr
Patch Set: Add owners 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
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 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 content::ResourceContext* context, 167 content::ResourceContext* context,
168 const std::vector<std::pair<int, int>>& render_frames) override; 168 const std::vector<std::pair<int, int>>& render_frames) override;
169 169
170 #if defined(ENABLE_WEBRTC) 170 #if defined(ENABLE_WEBRTC)
171 bool AllowWebRTCIdentityCache(const GURL& url, 171 bool AllowWebRTCIdentityCache(const GURL& url,
172 const GURL& first_party_url, 172 const GURL& first_party_url,
173 content::ResourceContext* context) override; 173 content::ResourceContext* context) override;
174 #endif // defined(ENABLE_WEBRTC) 174 #endif // defined(ENABLE_WEBRTC)
175 175
176 bool AllowKeygen(const GURL& url, content::ResourceContext* context) override; 176 bool AllowKeygen(const GURL& url, content::ResourceContext* context) override;
177 bool AllowWebBluetooth(content::BrowserContext* browser_context, 177 AllowWebBluetoothResult AllowWebBluetooth(
178 const url::Origin& requesting_origin, 178 content::BrowserContext* browser_context,
179 const url::Origin& embedding_origin) override; 179 const url::Origin& requesting_origin,
180 const url::Origin& embedding_origin) override;
180 181
181 net::URLRequestContext* OverrideRequestContextForURL( 182 net::URLRequestContext* OverrideRequestContextForURL(
182 const GURL& url, 183 const GURL& url,
183 content::ResourceContext* context) override; 184 content::ResourceContext* context) override;
184 content::QuotaPermissionContext* CreateQuotaPermissionContext() override; 185 content::QuotaPermissionContext* CreateQuotaPermissionContext() override;
185 scoped_ptr<storage::QuotaEvictionPolicy> GetTemporaryStorageEvictionPolicy( 186 scoped_ptr<storage::QuotaEvictionPolicy> GetTemporaryStorageEvictionPolicy(
186 content::BrowserContext* context) override; 187 content::BrowserContext* context) override;
187 void AllowCertificateError( 188 void AllowCertificateError(
188 content::WebContents* web_contents, 189 content::WebContents* web_contents,
189 int cert_error, 190 int cert_error,
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
353 // Vector of additional ChromeContentBrowserClientParts. 354 // Vector of additional ChromeContentBrowserClientParts.
354 // Parts are deleted in the reverse order they are added. 355 // Parts are deleted in the reverse order they are added.
355 std::vector<ChromeContentBrowserClientParts*> extra_parts_; 356 std::vector<ChromeContentBrowserClientParts*> extra_parts_;
356 357
357 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; 358 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_;
358 359
359 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); 360 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient);
360 }; 361 };
361 362
362 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 363 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698