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

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

Issue 2059543002: bluetooth: Move FactoryWrapper to device and expose a function for testing in chooser controller (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@my-origin
Patch Set: Fix typo Created 4 years, 6 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 <memory> 10 #include <memory>
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 bool AllowWebRTCIdentityCache(const GURL& url, 153 bool AllowWebRTCIdentityCache(const GURL& url,
154 const GURL& first_party_url, 154 const GURL& first_party_url,
155 content::ResourceContext* context) override; 155 content::ResourceContext* context) override;
156 #endif // defined(ENABLE_WEBRTC) 156 #endif // defined(ENABLE_WEBRTC)
157 bool AllowKeygen(const GURL& url, content::ResourceContext* context) override; 157 bool AllowKeygen(const GURL& url, content::ResourceContext* context) override;
158 AllowWebBluetoothResult AllowWebBluetooth( 158 AllowWebBluetoothResult AllowWebBluetooth(
159 content::BrowserContext* browser_context, 159 content::BrowserContext* browser_context,
160 const url::Origin& requesting_origin, 160 const url::Origin& requesting_origin,
161 const url::Origin& embedding_origin) override; 161 const url::Origin& embedding_origin) override;
162 std::string GetWebBluetoothBlacklist() override; 162 std::string GetWebBluetoothBlacklist() override;
163 base::TimeDelta GetBluetoothScanDuration() override;
163 net::URLRequestContext* OverrideRequestContextForURL( 164 net::URLRequestContext* OverrideRequestContextForURL(
164 const GURL& url, 165 const GURL& url,
165 content::ResourceContext* context) override; 166 content::ResourceContext* context) override;
166 content::QuotaPermissionContext* CreateQuotaPermissionContext() override; 167 content::QuotaPermissionContext* CreateQuotaPermissionContext() override;
167 std::unique_ptr<storage::QuotaEvictionPolicy> 168 std::unique_ptr<storage::QuotaEvictionPolicy>
168 GetTemporaryStorageEvictionPolicy(content::BrowserContext* context) override; 169 GetTemporaryStorageEvictionPolicy(content::BrowserContext* context) override;
169 void AllowCertificateError( 170 void AllowCertificateError(
170 content::WebContents* web_contents, 171 content::WebContents* web_contents,
171 int cert_error, 172 int cert_error,
172 const net::SSLInfo& ssl_info, 173 const net::SSLInfo& ssl_info,
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
340 // Vector of additional ChromeContentBrowserClientParts. 341 // Vector of additional ChromeContentBrowserClientParts.
341 // Parts are deleted in the reverse order they are added. 342 // Parts are deleted in the reverse order they are added.
342 std::vector<ChromeContentBrowserClientParts*> extra_parts_; 343 std::vector<ChromeContentBrowserClientParts*> extra_parts_;
343 344
344 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; 345 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_;
345 346
346 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); 347 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient);
347 }; 348 };
348 349
349 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 350 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698