Chromium Code Reviews| 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_EXTENSIONS_COMPONENT_LOADER_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_COMPONENT_LOADER_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_COMPONENT_LOADER_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_COMPONENT_LOADER_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 133 void AddWithName(int manifest_resource_id, | 133 void AddWithName(int manifest_resource_id, |
| 134 const base::FilePath& root_directory, | 134 const base::FilePath& root_directory, |
| 135 const std::string& name); | 135 const std::string& name); |
| 136 void AddChromeApp(); | 136 void AddChromeApp(); |
| 137 void AddKeyboardApp(); | 137 void AddKeyboardApp(); |
| 138 void AddWebStoreApp(); | 138 void AddWebStoreApp(); |
| 139 | 139 |
| 140 // Unloads |component| from the memory. | 140 // Unloads |component| from the memory. |
| 141 void UnloadComponent(ComponentExtensionInfo* component); | 141 void UnloadComponent(ComponentExtensionInfo* component); |
| 142 | 142 |
| 143 // Enable HTML5 FileSystem for given component extension in Guest mode. | |
| 144 void EnbaleFileSystemInGuestMode(const std::string& id); | |
|
asargent_no_longer_on_chrome
2014/02/07 00:09:50
nit: typo in method name "Enbale" -> "Enable"
Dmitry Polukhin
2014/02/07 00:20:00
Done.
| |
| 145 | |
| 143 PrefService* profile_prefs_; | 146 PrefService* profile_prefs_; |
| 144 PrefService* local_state_; | 147 PrefService* local_state_; |
| 145 content::BrowserContext* browser_context_; | 148 content::BrowserContext* browser_context_; |
| 146 | 149 |
| 147 ExtensionServiceInterface* extension_service_; | 150 ExtensionServiceInterface* extension_service_; |
| 148 | 151 |
| 149 // List of registered component extensions (see Manifest::Location). | 152 // List of registered component extensions (see Manifest::Location). |
| 150 typedef std::vector<ComponentExtensionInfo> RegisteredComponentExtensions; | 153 typedef std::vector<ComponentExtensionInfo> RegisteredComponentExtensions; |
| 151 RegisteredComponentExtensions component_extensions_; | 154 RegisteredComponentExtensions component_extensions_; |
| 152 | 155 |
| 153 FRIEND_TEST_ALL_PREFIXES(TtsApiTest, NetworkSpeechEngine); | 156 FRIEND_TEST_ALL_PREFIXES(TtsApiTest, NetworkSpeechEngine); |
| 154 FRIEND_TEST_ALL_PREFIXES(TtsApiTest, NoNetworkSpeechEngineWhenOffline); | 157 FRIEND_TEST_ALL_PREFIXES(TtsApiTest, NoNetworkSpeechEngineWhenOffline); |
| 155 | 158 |
| 156 DISALLOW_COPY_AND_ASSIGN(ComponentLoader); | 159 DISALLOW_COPY_AND_ASSIGN(ComponentLoader); |
| 157 }; | 160 }; |
| 158 | 161 |
| 159 } // namespace extensions | 162 } // namespace extensions |
| 160 | 163 |
| 161 #endif // CHROME_BROWSER_EXTENSIONS_COMPONENT_LOADER_H_ | 164 #endif // CHROME_BROWSER_EXTENSIONS_COMPONENT_LOADER_H_ |
| OLD | NEW |