| 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 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 221 void DidCreatePpapiPlugin(content::BrowserPpapiHost* browser_host) override; | 221 void DidCreatePpapiPlugin(content::BrowserPpapiHost* browser_host) override; |
| 222 content::BrowserPpapiHost* GetExternalBrowserPpapiHost( | 222 content::BrowserPpapiHost* GetExternalBrowserPpapiHost( |
| 223 int plugin_process_id) override; | 223 int plugin_process_id) override; |
| 224 bool AllowPepperSocketAPI( | 224 bool AllowPepperSocketAPI( |
| 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 std::unique_ptr<content::VpnServiceProxy> GetVpnServiceProxy( |
| 232 content::BrowserContext* browser_context) override; |
| 231 ui::SelectFilePolicy* CreateSelectFilePolicy( | 233 ui::SelectFilePolicy* CreateSelectFilePolicy( |
| 232 content::WebContents* web_contents) override; | 234 content::WebContents* web_contents) override; |
| 233 void GetAdditionalAllowedSchemesForFileSystem( | 235 void GetAdditionalAllowedSchemesForFileSystem( |
| 234 std::vector<std::string>* additional_schemes) override; | 236 std::vector<std::string>* additional_schemes) override; |
| 235 void GetSchemesBypassingSecureContextCheckWhitelist( | 237 void GetSchemesBypassingSecureContextCheckWhitelist( |
| 236 std::set<std::string>* schemes) override; | 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, |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 341 // Vector of additional ChromeContentBrowserClientParts. | 343 // Vector of additional ChromeContentBrowserClientParts. |
| 342 // Parts are deleted in the reverse order they are added. | 344 // Parts are deleted in the reverse order they are added. |
| 343 std::vector<ChromeContentBrowserClientParts*> extra_parts_; | 345 std::vector<ChromeContentBrowserClientParts*> extra_parts_; |
| 344 | 346 |
| 345 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; | 347 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; |
| 346 | 348 |
| 347 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 349 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
| 348 }; | 350 }; |
| 349 | 351 |
| 350 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 352 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |