Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(317)

Side by Side Diff: chrome/browser/extensions/component_loader.h

Issue 2805183002: Make ZIP archiver a component extension. (Closed)
Patch Set: Move the command line check into the function body. Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 <stddef.h> 8 #include <stddef.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 // Loads a registered component extension. 148 // Loads a registered component extension.
149 void Load(const ComponentExtensionInfo& info); 149 void Load(const ComponentExtensionInfo& info);
150 150
151 void AddDefaultComponentExtensionsWithBackgroundPages( 151 void AddDefaultComponentExtensionsWithBackgroundPages(
152 bool skip_session_components); 152 bool skip_session_components);
153 void AddDefaultComponentExtensionsWithBackgroundPagesForKioskMode(); 153 void AddDefaultComponentExtensionsWithBackgroundPagesForKioskMode();
154 void AddFileManagerExtension(); 154 void AddFileManagerExtension();
155 void AddVideoPlayerExtension(); 155 void AddVideoPlayerExtension();
156 void AddAudioPlayerExtension(); 156 void AddAudioPlayerExtension();
157 void AddGalleryExtension(); 157 void AddGalleryExtension();
158 void AddZipArchiverExtension();
158 void AddWebstoreWidgetExtension(); 159 void AddWebstoreWidgetExtension();
159 void AddHangoutServicesExtension(); 160 void AddHangoutServicesExtension();
160 void AddHotwordHelperExtension(); 161 void AddHotwordHelperExtension();
161 void AddImageLoaderExtension(); 162 void AddImageLoaderExtension();
162 void AddNetworkSpeechSynthesisExtension(); 163 void AddNetworkSpeechSynthesisExtension();
163 164
164 void AddWithNameAndDescription(int manifest_resource_id, 165 void AddWithNameAndDescription(int manifest_resource_id,
165 const base::FilePath& root_directory, 166 const base::FilePath& root_directory,
166 const std::string& name_string, 167 const std::string& name_string,
167 const std::string& description_string); 168 const std::string& description_string);
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 base::WeakPtrFactory<ComponentLoader> weak_factory_; 206 base::WeakPtrFactory<ComponentLoader> weak_factory_;
206 207
207 friend class TtsApiTest; 208 friend class TtsApiTest;
208 209
209 DISALLOW_COPY_AND_ASSIGN(ComponentLoader); 210 DISALLOW_COPY_AND_ASSIGN(ComponentLoader);
210 }; 211 };
211 212
212 } // namespace extensions 213 } // namespace extensions
213 214
214 #endif // CHROME_BROWSER_EXTENSIONS_COMPONENT_LOADER_H_ 215 #endif // CHROME_BROWSER_EXTENSIONS_COMPONENT_LOADER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698