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

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

Issue 141733008: Use incognito split for ChromeVox and TTS in Guest mode (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: added guest manifests for ChromeVox and TTS Created 6 years, 10 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 | 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 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 void AddWithName(int manifest_resource_id, 133 void AddWithName(int manifest_resource_id,
134 const base::FilePath& root_directory, 134 const base::FilePath& root_directory,
135 const std::string& name); 135 const std::string& name);
136 void AddChromeApp(); 136 void AddChromeApp();
137 void AddKeyboardApp(); 137 void AddKeyboardApp();
138 void AddWebStoreApp(); 138 void AddWebStoreApp();
139 139
140 // Unloads |component| from the memory. 140 // Unloads |component| from the memory.
141 void UnloadComponent(ComponentExtensionInfo* component); 141 void UnloadComponent(ComponentExtensionInfo* component);
142 142
143 // Enable HTML5 FileSystem for given component extension in Guest mode.
144 void EnbaleFileSystemInGuestMode(const std::string& id);
asargent_no_longer_on_chrome 2014/02/07 00:09:50 nit: typo in method name "Enbale" -> "Enable"
Dmitry Polukhin 2014/02/07 00:20:00 Done.
145
143 PrefService* profile_prefs_; 146 PrefService* profile_prefs_;
144 PrefService* local_state_; 147 PrefService* local_state_;
145 content::BrowserContext* browser_context_; 148 content::BrowserContext* browser_context_;
146 149
147 ExtensionServiceInterface* extension_service_; 150 ExtensionServiceInterface* extension_service_;
148 151
149 // List of registered component extensions (see Manifest::Location). 152 // List of registered component extensions (see Manifest::Location).
150 typedef std::vector<ComponentExtensionInfo> RegisteredComponentExtensions; 153 typedef std::vector<ComponentExtensionInfo> RegisteredComponentExtensions;
151 RegisteredComponentExtensions component_extensions_; 154 RegisteredComponentExtensions component_extensions_;
152 155
153 FRIEND_TEST_ALL_PREFIXES(TtsApiTest, NetworkSpeechEngine); 156 FRIEND_TEST_ALL_PREFIXES(TtsApiTest, NetworkSpeechEngine);
154 FRIEND_TEST_ALL_PREFIXES(TtsApiTest, NoNetworkSpeechEngineWhenOffline); 157 FRIEND_TEST_ALL_PREFIXES(TtsApiTest, NoNetworkSpeechEngineWhenOffline);
155 158
156 DISALLOW_COPY_AND_ASSIGN(ComponentLoader); 159 DISALLOW_COPY_AND_ASSIGN(ComponentLoader);
157 }; 160 };
158 161
159 } // namespace extensions 162 } // namespace extensions
160 163
161 #endif // CHROME_BROWSER_EXTENSIONS_COMPONENT_LOADER_H_ 164 #endif // CHROME_BROWSER_EXTENSIONS_COMPONENT_LOADER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698