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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 }; | 118 }; |
119 | 119 |
120 std::string Add(const base::DictionaryValue* parsed_manifest, | 120 std::string Add(const base::DictionaryValue* parsed_manifest, |
121 const base::FilePath& root_directory); | 121 const base::FilePath& root_directory); |
122 | 122 |
123 // Loads a registered component extension. | 123 // Loads a registered component extension. |
124 void Load(const ComponentExtensionInfo& info); | 124 void Load(const ComponentExtensionInfo& info); |
125 | 125 |
126 void AddDefaultComponentExtensionsWithBackgroundPages( | 126 void AddDefaultComponentExtensionsWithBackgroundPages( |
127 bool skip_session_components); | 127 bool skip_session_components); |
| 128 void AddDemoApp(); |
128 void AddFileManagerExtension(); | 129 void AddFileManagerExtension(); |
129 void AddHangoutServicesExtension(); | 130 void AddHangoutServicesExtension(); |
130 void AddHotwordHelperExtension(); | 131 void AddHotwordHelperExtension(); |
131 void AddImageLoaderExtension(); | 132 void AddImageLoaderExtension(); |
132 void AddBookmarksExtensions(); | 133 void AddBookmarksExtensions(); |
133 void AddNetworkSpeechSynthesisExtension(); | 134 void AddNetworkSpeechSynthesisExtension(); |
134 | 135 |
135 void AddWithName(int manifest_resource_id, | 136 void AddWithName(int manifest_resource_id, |
136 const base::FilePath& root_directory, | 137 const base::FilePath& root_directory, |
137 const std::string& name); | 138 const std::string& name); |
(...skipping 19 matching lines...) Expand all Loading... |
157 | 158 |
158 FRIEND_TEST_ALL_PREFIXES(TtsApiTest, NetworkSpeechEngine); | 159 FRIEND_TEST_ALL_PREFIXES(TtsApiTest, NetworkSpeechEngine); |
159 FRIEND_TEST_ALL_PREFIXES(TtsApiTest, NoNetworkSpeechEngineWhenOffline); | 160 FRIEND_TEST_ALL_PREFIXES(TtsApiTest, NoNetworkSpeechEngineWhenOffline); |
160 | 161 |
161 DISALLOW_COPY_AND_ASSIGN(ComponentLoader); | 162 DISALLOW_COPY_AND_ASSIGN(ComponentLoader); |
162 }; | 163 }; |
163 | 164 |
164 } // namespace extensions | 165 } // namespace extensions |
165 | 166 |
166 #endif // CHROME_BROWSER_EXTENSIONS_COMPONENT_LOADER_H_ | 167 #endif // CHROME_BROWSER_EXTENSIONS_COMPONENT_LOADER_H_ |
OLD | NEW |