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

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

Issue 58903014: Revert 232412 "Implement Google network speech synthesis." (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1700/src/
Patch Set: Created 7 years, 1 month 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 | Annotate | Revision Log
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 <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 108
109 // Loads a registered component extension. 109 // Loads a registered component extension.
110 void Load(const ComponentExtensionInfo& info); 110 void Load(const ComponentExtensionInfo& info);
111 111
112 void AddDefaultComponentExtensionsWithBackgroundPages( 112 void AddDefaultComponentExtensionsWithBackgroundPages(
113 bool skip_session_components); 113 bool skip_session_components);
114 void AddFileManagerExtension(); 114 void AddFileManagerExtension();
115 void AddHangoutServicesExtension(); 115 void AddHangoutServicesExtension();
116 void AddImageLoaderExtension(); 116 void AddImageLoaderExtension();
117 void AddBookmarksExtensions(); 117 void AddBookmarksExtensions();
118 void AddNetworkSpeechSynthesisExtension();
119 118
120 void AddWithName(int manifest_resource_id, 119 void AddWithName(int manifest_resource_id,
121 const base::FilePath& root_directory, 120 const base::FilePath& root_directory,
122 const std::string& name); 121 const std::string& name);
123 void AddChromeApp(); 122 void AddChromeApp();
124 void AddKeyboardApp(); 123 void AddKeyboardApp();
125 void AddWebStoreApp(); 124 void AddWebStoreApp();
126 125
127 // Unloads |component| from the memory. 126 // Unloads |component| from the memory.
128 void UnloadComponent(ComponentExtensionInfo* component); 127 void UnloadComponent(ComponentExtensionInfo* component);
129 128
130 PrefService* profile_prefs_; 129 PrefService* profile_prefs_;
131 PrefService* local_state_; 130 PrefService* local_state_;
132 131
133 ExtensionServiceInterface* extension_service_; 132 ExtensionServiceInterface* extension_service_;
134 133
135 // List of registered component extensions (see Manifest::Location). 134 // List of registered component extensions (see Manifest::Location).
136 typedef std::vector<ComponentExtensionInfo> RegisteredComponentExtensions; 135 typedef std::vector<ComponentExtensionInfo> RegisteredComponentExtensions;
137 RegisteredComponentExtensions component_extensions_; 136 RegisteredComponentExtensions component_extensions_;
138 137
139 FRIEND_TEST_ALL_PREFIXES(TtsApiTest, NetworkSpeechEngine);
140
141 DISALLOW_COPY_AND_ASSIGN(ComponentLoader); 138 DISALLOW_COPY_AND_ASSIGN(ComponentLoader);
142 }; 139 };
143 140
144 } // namespace extensions 141 } // namespace extensions
145 142
146 #endif // CHROME_BROWSER_EXTENSIONS_COMPONENT_LOADER_H_ 143 #endif // CHROME_BROWSER_EXTENSIONS_COMPONENT_LOADER_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/api/system_private/system_private_api.cc ('k') | chrome/browser/extensions/component_loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698