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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 std::string Add(const base::DictionaryValue* parsed_manifest, | 125 std::string Add(const base::DictionaryValue* parsed_manifest, |
126 const base::FilePath& root_directory); | 126 const base::FilePath& root_directory); |
127 | 127 |
128 // Loads a registered component extension. | 128 // Loads a registered component extension. |
129 void Load(const ComponentExtensionInfo& info); | 129 void Load(const ComponentExtensionInfo& info); |
130 | 130 |
131 void AddDefaultComponentExtensionsWithBackgroundPages( | 131 void AddDefaultComponentExtensionsWithBackgroundPages( |
132 bool skip_session_components); | 132 bool skip_session_components); |
133 void AddFileManagerExtension(); | 133 void AddFileManagerExtension(); |
134 void AddVideoPlayerExtension(); | 134 void AddVideoPlayerExtension(); |
| 135 void AddAudioPlayerExtension(); |
135 void AddGalleryExtension(); | 136 void AddGalleryExtension(); |
136 void AddHangoutServicesExtension(); | 137 void AddHangoutServicesExtension(); |
137 void AddHotwordHelperExtension(); | 138 void AddHotwordHelperExtension(); |
138 void AddImageLoaderExtension(); | 139 void AddImageLoaderExtension(); |
139 void AddNetworkSpeechSynthesisExtension(); | 140 void AddNetworkSpeechSynthesisExtension(); |
140 | 141 |
141 void AddWithNameAndDescription(int manifest_resource_id, | 142 void AddWithNameAndDescription(int manifest_resource_id, |
142 const base::FilePath& root_directory, | 143 const base::FilePath& root_directory, |
143 int name_string_id, | 144 int name_string_id, |
144 int description_string_id); | 145 int description_string_id); |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
177 | 178 |
178 FRIEND_TEST_ALL_PREFIXES(TtsApiTest, NetworkSpeechEngine); | 179 FRIEND_TEST_ALL_PREFIXES(TtsApiTest, NetworkSpeechEngine); |
179 FRIEND_TEST_ALL_PREFIXES(TtsApiTest, NoNetworkSpeechEngineWhenOffline); | 180 FRIEND_TEST_ALL_PREFIXES(TtsApiTest, NoNetworkSpeechEngineWhenOffline); |
180 | 181 |
181 DISALLOW_COPY_AND_ASSIGN(ComponentLoader); | 182 DISALLOW_COPY_AND_ASSIGN(ComponentLoader); |
182 }; | 183 }; |
183 | 184 |
184 } // namespace extensions | 185 } // namespace extensions |
185 | 186 |
186 #endif // CHROME_BROWSER_EXTENSIONS_COMPONENT_LOADER_H_ | 187 #endif // CHROME_BROWSER_EXTENSIONS_COMPONENT_LOADER_H_ |
OLD | NEW |