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_EXTENSIONS_CHROME_CONTENT_BROWSER_CLIENT_EXTENSIONS_PART_
H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_CHROME_CONTENT_BROWSER_CLIENT_EXTENSIONS_PART_
H_ |
6 #define CHROME_BROWSER_EXTENSIONS_CHROME_CONTENT_BROWSER_CLIENT_EXTENSIONS_PART_
H_ | 6 #define CHROME_BROWSER_EXTENSIONS_CHROME_CONTENT_BROWSER_CLIENT_EXTENSIONS_PART_
H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "base/macros.h" | 9 #include "base/macros.h" |
10 #include "chrome/browser/chrome_content_browser_client_parts.h" | 10 #include "chrome/browser/chrome_content_browser_client_parts.h" |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 const GURL& from_url, | 50 const GURL& from_url, |
51 const GURL& to_url, | 51 const GURL& to_url, |
52 bool* result); | 52 bool* result); |
53 | 53 |
54 // Helper function to call InfoMap::SetSigninProcess(). | 54 // Helper function to call InfoMap::SetSigninProcess(). |
55 static void SetSigninProcess(content::SiteInstance* site_instance); | 55 static void SetSigninProcess(content::SiteInstance* site_instance); |
56 | 56 |
57 private: | 57 private: |
58 // ChromeContentBrowserClientParts: | 58 // ChromeContentBrowserClientParts: |
59 virtual void RenderProcessWillLaunch( | 59 virtual void RenderProcessWillLaunch( |
60 content::RenderProcessHost* host) OVERRIDE; | 60 content::RenderProcessHost* host) override; |
61 virtual void SiteInstanceGotProcess( | 61 virtual void SiteInstanceGotProcess( |
62 content::SiteInstance* site_instance) OVERRIDE; | 62 content::SiteInstance* site_instance) override; |
63 virtual void SiteInstanceDeleting( | 63 virtual void SiteInstanceDeleting( |
64 content::SiteInstance* site_instance) OVERRIDE; | 64 content::SiteInstance* site_instance) override; |
65 virtual void OverrideWebkitPrefs(content::RenderViewHost* rvh, | 65 virtual void OverrideWebkitPrefs(content::RenderViewHost* rvh, |
66 const GURL& url, | 66 const GURL& url, |
67 content::WebPreferences* web_prefs) OVERRIDE; | 67 content::WebPreferences* web_prefs) override; |
68 virtual void BrowserURLHandlerCreated( | 68 virtual void BrowserURLHandlerCreated( |
69 content::BrowserURLHandler* handler) OVERRIDE; | 69 content::BrowserURLHandler* handler) override; |
70 virtual void GetAdditionalAllowedSchemesForFileSystem( | 70 virtual void GetAdditionalAllowedSchemesForFileSystem( |
71 std::vector<std::string>* additional_allowed_schemes) OVERRIDE; | 71 std::vector<std::string>* additional_allowed_schemes) override; |
72 virtual void GetURLRequestAutoMountHandlers( | 72 virtual void GetURLRequestAutoMountHandlers( |
73 std::vector<storage::URLRequestAutoMountHandler>* handlers) OVERRIDE; | 73 std::vector<storage::URLRequestAutoMountHandler>* handlers) override; |
74 virtual void GetAdditionalFileSystemBackends( | 74 virtual void GetAdditionalFileSystemBackends( |
75 content::BrowserContext* browser_context, | 75 content::BrowserContext* browser_context, |
76 const base::FilePath& storage_partition_path, | 76 const base::FilePath& storage_partition_path, |
77 ScopedVector<storage::FileSystemBackend>* additional_backends) OVERRIDE; | 77 ScopedVector<storage::FileSystemBackend>* additional_backends) override; |
78 virtual void AppendExtraRendererCommandLineSwitches( | 78 virtual void AppendExtraRendererCommandLineSwitches( |
79 base::CommandLine* command_line, | 79 base::CommandLine* command_line, |
80 content::RenderProcessHost* process, | 80 content::RenderProcessHost* process, |
81 Profile* profile) OVERRIDE; | 81 Profile* profile) override; |
82 | 82 |
83 scoped_ptr<BrowserPermissionsPolicyDelegate> permissions_policy_delegate_; | 83 scoped_ptr<BrowserPermissionsPolicyDelegate> permissions_policy_delegate_; |
84 | 84 |
85 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClientExtensionsPart); | 85 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClientExtensionsPart); |
86 }; | 86 }; |
87 | 87 |
88 } // namespace extensions | 88 } // namespace extensions |
89 | 89 |
90 #endif // CHROME_BROWSER_EXTENSIONS_CHROME_CONTENT_BROWSER_CLIENT_EXTENSIONS_PA
RT_H_ | 90 #endif // CHROME_BROWSER_EXTENSIONS_CHROME_CONTENT_BROWSER_CLIENT_EXTENSIONS_PA
RT_H_ |
91 | 91 |
OLD | NEW |