| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_PARTS_H_ | 5 #ifndef CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_PARTS_H_ |
| 6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_PARTS_H_ | 6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_PARTS_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 virtual void OverrideWebkitPrefs(content::RenderViewHost* rvh, | 44 virtual void OverrideWebkitPrefs(content::RenderViewHost* rvh, |
| 45 content::WebPreferences* web_prefs) {} | 45 content::WebPreferences* web_prefs) {} |
| 46 virtual void BrowserURLHandlerCreated(content::BrowserURLHandler* handler) {} | 46 virtual void BrowserURLHandlerCreated(content::BrowserURLHandler* handler) {} |
| 47 virtual void GetAdditionalAllowedSchemesForFileSystem( | 47 virtual void GetAdditionalAllowedSchemesForFileSystem( |
| 48 std::vector<std::string>* additional_allowed_schemes) {} | 48 std::vector<std::string>* additional_allowed_schemes) {} |
| 49 virtual void GetURLRequestAutoMountHandlers( | 49 virtual void GetURLRequestAutoMountHandlers( |
| 50 std::vector<storage::URLRequestAutoMountHandler>* handlers) {} | 50 std::vector<storage::URLRequestAutoMountHandler>* handlers) {} |
| 51 virtual void GetAdditionalFileSystemBackends( | 51 virtual void GetAdditionalFileSystemBackends( |
| 52 content::BrowserContext* browser_context, | 52 content::BrowserContext* browser_context, |
| 53 const base::FilePath& storage_partition_path, | 53 const base::FilePath& storage_partition_path, |
| 54 ScopedVector<storage::FileSystemBackend>* additional_backends) {} | 54 std::vector<std::unique_ptr<storage::FileSystemBackend>>* |
| 55 additional_backends) {} |
| 55 | 56 |
| 56 // Append extra switches to |command_line| for |process|. If |process| is not | 57 // Append extra switches to |command_line| for |process|. If |process| is not |
| 57 // NULL, then neither is |profile|. | 58 // NULL, then neither is |profile|. |
| 58 virtual void AppendExtraRendererCommandLineSwitches( | 59 virtual void AppendExtraRendererCommandLineSwitches( |
| 59 base::CommandLine* command_line, | 60 base::CommandLine* command_line, |
| 60 content::RenderProcessHost* process, | 61 content::RenderProcessHost* process, |
| 61 Profile* profile) {} | 62 Profile* profile) {} |
| 62 | 63 |
| 63 // Called when the ResourceDispatcherHost is created. | 64 // Called when the ResourceDispatcherHost is created. |
| 64 virtual void ResourceDispatcherHostCreated() {} | 65 virtual void ResourceDispatcherHostCreated() {} |
| 65 }; | 66 }; |
| 66 | 67 |
| 67 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_PARTS_H_ | 68 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_PARTS_H_ |
| 68 | 69 |
| OLD | NEW |