OLD | NEW |
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 Loading... |
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 Loading... |
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_ |
OLD | NEW |