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 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
154 bool AllowWorkerIndexedDB( | 154 bool AllowWorkerIndexedDB( |
155 const GURL& url, | 155 const GURL& url, |
156 const base::string16& name, | 156 const base::string16& name, |
157 content::ResourceContext* context, | 157 content::ResourceContext* context, |
158 const std::vector<std::pair<int, int>>& render_frames) override; | 158 const std::vector<std::pair<int, int>>& render_frames) override; |
159 #if BUILDFLAG(ENABLE_WEBRTC) | 159 #if BUILDFLAG(ENABLE_WEBRTC) |
160 bool AllowWebRTCIdentityCache(const GURL& url, | 160 bool AllowWebRTCIdentityCache(const GURL& url, |
161 const GURL& first_party_url, | 161 const GURL& first_party_url, |
162 content::ResourceContext* context) override; | 162 content::ResourceContext* context) override; |
163 #endif // BUILDFLAG(ENABLE_WEBRTC) | 163 #endif // BUILDFLAG(ENABLE_WEBRTC) |
164 bool AllowKeygen(const GURL& url, content::ResourceContext* context) override; | |
165 AllowWebBluetoothResult AllowWebBluetooth( | 164 AllowWebBluetoothResult AllowWebBluetooth( |
166 content::BrowserContext* browser_context, | 165 content::BrowserContext* browser_context, |
167 const url::Origin& requesting_origin, | 166 const url::Origin& requesting_origin, |
168 const url::Origin& embedding_origin) override; | 167 const url::Origin& embedding_origin) override; |
169 std::string GetWebBluetoothBlocklist() override; | 168 std::string GetWebBluetoothBlocklist() override; |
170 net::URLRequestContext* OverrideRequestContextForURL( | 169 net::URLRequestContext* OverrideRequestContextForURL( |
171 const GURL& url, | 170 const GURL& url, |
172 content::ResourceContext* context) override; | 171 content::ResourceContext* context) override; |
173 content::QuotaPermissionContext* CreateQuotaPermissionContext() override; | 172 content::QuotaPermissionContext* CreateQuotaPermissionContext() override; |
174 void GetQuotaSettings( | 173 void GetQuotaSettings( |
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
378 // Vector of additional ChromeContentBrowserClientParts. | 377 // Vector of additional ChromeContentBrowserClientParts. |
379 // Parts are deleted in the reverse order they are added. | 378 // Parts are deleted in the reverse order they are added. |
380 std::vector<ChromeContentBrowserClientParts*> extra_parts_; | 379 std::vector<ChromeContentBrowserClientParts*> extra_parts_; |
381 | 380 |
382 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; | 381 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; |
383 | 382 |
384 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 383 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
385 }; | 384 }; |
386 | 385 |
387 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 386 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |