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 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 void AddHangoutServicesExtension(); | 136 void AddHangoutServicesExtension(); |
137 void AddHotwordHelperExtension(); | 137 void AddHotwordHelperExtension(); |
138 void AddImageLoaderExtension(); | 138 void AddImageLoaderExtension(); |
139 void AddNetworkSpeechSynthesisExtension(); | 139 void AddNetworkSpeechSynthesisExtension(); |
140 | 140 |
141 void AddWithNameAndDescription(int manifest_resource_id, | 141 void AddWithNameAndDescription(int manifest_resource_id, |
142 const base::FilePath& root_directory, | 142 const base::FilePath& root_directory, |
143 int name_string_id, | 143 int name_string_id, |
144 int description_string_id); | 144 int description_string_id); |
145 void AddChromeApp(); | 145 void AddChromeApp(); |
| 146 void AddHotwordAudioVerificationApp(); |
146 void AddKeyboardApp(); | 147 void AddKeyboardApp(); |
147 void AddWebStoreApp(); | 148 void AddWebStoreApp(); |
148 | 149 |
149 // Unloads |component| from the memory. | 150 // Unloads |component| from the memory. |
150 void UnloadComponent(ComponentExtensionInfo* component); | 151 void UnloadComponent(ComponentExtensionInfo* component); |
151 | 152 |
152 // Enable HTML5 FileSystem for given component extension in Guest mode. | 153 // Enable HTML5 FileSystem for given component extension in Guest mode. |
153 void EnableFileSystemInGuestMode(const std::string& id); | 154 void EnableFileSystemInGuestMode(const std::string& id); |
154 | 155 |
155 #if defined(OS_CHROMEOS) | 156 #if defined(OS_CHROMEOS) |
(...skipping 20 matching lines...) Expand all Loading... |
176 | 177 |
177 FRIEND_TEST_ALL_PREFIXES(TtsApiTest, NetworkSpeechEngine); | 178 FRIEND_TEST_ALL_PREFIXES(TtsApiTest, NetworkSpeechEngine); |
178 FRIEND_TEST_ALL_PREFIXES(TtsApiTest, NoNetworkSpeechEngineWhenOffline); | 179 FRIEND_TEST_ALL_PREFIXES(TtsApiTest, NoNetworkSpeechEngineWhenOffline); |
179 | 180 |
180 DISALLOW_COPY_AND_ASSIGN(ComponentLoader); | 181 DISALLOW_COPY_AND_ASSIGN(ComponentLoader); |
181 }; | 182 }; |
182 | 183 |
183 } // namespace extensions | 184 } // namespace extensions |
184 | 185 |
185 #endif // CHROME_BROWSER_EXTENSIONS_COMPONENT_LOADER_H_ | 186 #endif // CHROME_BROWSER_EXTENSIONS_COMPONENT_LOADER_H_ |
OLD | NEW |