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

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

Issue 58513003: Disable remote TTS services when offline. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
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
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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 PrefService* profile_prefs_; 130 PrefService* profile_prefs_;
131 PrefService* local_state_; 131 PrefService* local_state_;
132 132
133 ExtensionServiceInterface* extension_service_; 133 ExtensionServiceInterface* extension_service_;
134 134
135 // List of registered component extensions (see Manifest::Location). 135 // List of registered component extensions (see Manifest::Location).
136 typedef std::vector<ComponentExtensionInfo> RegisteredComponentExtensions; 136 typedef std::vector<ComponentExtensionInfo> RegisteredComponentExtensions;
137 RegisteredComponentExtensions component_extensions_; 137 RegisteredComponentExtensions component_extensions_;
138 138
139 FRIEND_TEST_ALL_PREFIXES(TtsApiTest, NetworkSpeechEngine); 139 FRIEND_TEST_ALL_PREFIXES(TtsApiTest, NetworkSpeechEngine);
140 FRIEND_TEST_ALL_PREFIXES(TtsApiTest, NoNetworkSpeechEngineWhenOffline);
140 141
141 DISALLOW_COPY_AND_ASSIGN(ComponentLoader); 142 DISALLOW_COPY_AND_ASSIGN(ComponentLoader);
142 }; 143 };
143 144
144 } // namespace extensions 145 } // namespace extensions
145 146
146 #endif // CHROME_BROWSER_EXTENSIONS_COMPONENT_LOADER_H_ 147 #endif // CHROME_BROWSER_EXTENSIONS_COMPONENT_LOADER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698