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 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
225 content::BrowserContext* browser_context, | 225 content::BrowserContext* browser_context, |
226 const GURL& url, | 226 const GURL& url, |
227 bool private_api, | 227 bool private_api, |
228 const content::SocketPermissionRequest* params) override; | 228 const content::SocketPermissionRequest* params) override; |
229 bool IsPepperVpnProviderAPIAllowed(content::BrowserContext* browser_context, | 229 bool IsPepperVpnProviderAPIAllowed(content::BrowserContext* browser_context, |
230 const GURL& url) override; | 230 const GURL& url) override; |
231 ui::SelectFilePolicy* CreateSelectFilePolicy( | 231 ui::SelectFilePolicy* CreateSelectFilePolicy( |
232 content::WebContents* web_contents) override; | 232 content::WebContents* web_contents) override; |
233 void GetAdditionalAllowedSchemesForFileSystem( | 233 void GetAdditionalAllowedSchemesForFileSystem( |
234 std::vector<std::string>* additional_schemes) override; | 234 std::vector<std::string>* additional_schemes) override; |
| 235 void GetSchemesBypassingSecureContextCheckWhitelist( |
| 236 std::set<std::string>* schemes) override; |
235 void GetURLRequestAutoMountHandlers( | 237 void GetURLRequestAutoMountHandlers( |
236 std::vector<storage::URLRequestAutoMountHandler>* handlers) override; | 238 std::vector<storage::URLRequestAutoMountHandler>* handlers) override; |
237 void GetAdditionalFileSystemBackends( | 239 void GetAdditionalFileSystemBackends( |
238 content::BrowserContext* browser_context, | 240 content::BrowserContext* browser_context, |
239 const base::FilePath& storage_partition_path, | 241 const base::FilePath& storage_partition_path, |
240 ScopedVector<storage::FileSystemBackend>* additional_backends) override; | 242 ScopedVector<storage::FileSystemBackend>* additional_backends) override; |
241 content::DevToolsManagerDelegate* GetDevToolsManagerDelegate() override; | 243 content::DevToolsManagerDelegate* GetDevToolsManagerDelegate() override; |
242 content::TracingDelegate* GetTracingDelegate() override; | 244 content::TracingDelegate* GetTracingDelegate() override; |
243 bool IsPluginAllowedToCallRequestOSFileHandle( | 245 bool IsPluginAllowedToCallRequestOSFileHandle( |
244 content::BrowserContext* browser_context, | 246 content::BrowserContext* browser_context, |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
340 // Vector of additional ChromeContentBrowserClientParts. | 342 // Vector of additional ChromeContentBrowserClientParts. |
341 // Parts are deleted in the reverse order they are added. | 343 // Parts are deleted in the reverse order they are added. |
342 std::vector<ChromeContentBrowserClientParts*> extra_parts_; | 344 std::vector<ChromeContentBrowserClientParts*> extra_parts_; |
343 | 345 |
344 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; | 346 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; |
345 | 347 |
346 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 348 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
347 }; | 349 }; |
348 | 350 |
349 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 351 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |