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 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
227 content::BrowserContext* browser_context, | 227 content::BrowserContext* browser_context, |
228 const GURL& url, | 228 const GURL& url, |
229 bool private_api, | 229 bool private_api, |
230 const content::SocketPermissionRequest* params) override; | 230 const content::SocketPermissionRequest* params) override; |
231 bool IsPepperVpnProviderAPIAllowed(content::BrowserContext* browser_context, | 231 bool IsPepperVpnProviderAPIAllowed(content::BrowserContext* browser_context, |
232 const GURL& url) override; | 232 const GURL& url) override; |
233 ui::SelectFilePolicy* CreateSelectFilePolicy( | 233 ui::SelectFilePolicy* CreateSelectFilePolicy( |
234 content::WebContents* web_contents) override; | 234 content::WebContents* web_contents) override; |
235 void GetAdditionalAllowedSchemesForFileSystem( | 235 void GetAdditionalAllowedSchemesForFileSystem( |
236 std::vector<std::string>* additional_schemes) override; | 236 std::vector<std::string>* additional_schemes) override; |
| 237 void GetSchemesBypassingSecureContextCheckWhitelist( |
| 238 std::set<std::string>* schemes) override; |
237 void GetURLRequestAutoMountHandlers( | 239 void GetURLRequestAutoMountHandlers( |
238 std::vector<storage::URLRequestAutoMountHandler>* handlers) override; | 240 std::vector<storage::URLRequestAutoMountHandler>* handlers) override; |
239 void GetAdditionalFileSystemBackends( | 241 void GetAdditionalFileSystemBackends( |
240 content::BrowserContext* browser_context, | 242 content::BrowserContext* browser_context, |
241 const base::FilePath& storage_partition_path, | 243 const base::FilePath& storage_partition_path, |
242 ScopedVector<storage::FileSystemBackend>* additional_backends) override; | 244 ScopedVector<storage::FileSystemBackend>* additional_backends) override; |
243 content::DevToolsManagerDelegate* GetDevToolsManagerDelegate() override; | 245 content::DevToolsManagerDelegate* GetDevToolsManagerDelegate() override; |
244 content::TracingDelegate* GetTracingDelegate() override; | 246 content::TracingDelegate* GetTracingDelegate() override; |
245 bool IsPluginAllowedToCallRequestOSFileHandle( | 247 bool IsPluginAllowedToCallRequestOSFileHandle( |
246 content::BrowserContext* browser_context, | 248 content::BrowserContext* browser_context, |
(...skipping 93 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 |