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

Side by Side Diff: chrome/common/extensions/extension_constants.h

Issue 2884025: Disallow syncing of extensions with third-party update URLs or plugins. (Closed)
Patch Set: Tightened check Created 10 years, 5 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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ 5 #ifndef CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_
6 #define CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ 6 #define CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_
7 7
8 // Keys used in JSON representation of extensions. 8 // Keys used in JSON representation of extensions.
9 namespace extension_manifest_keys { 9 namespace extension_manifest_keys {
10 extern const wchar_t* kAllFrames; 10 extern const wchar_t* kAllFrames;
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 extern const char* kInvalidOmniboxKeyword; 170 extern const char* kInvalidOmniboxKeyword;
171 extern const char* kOmniboxExperimental; 171 extern const char* kOmniboxExperimental;
172 } // namespace extension_manifest_errors 172 } // namespace extension_manifest_errors
173 173
174 namespace extension_urls { 174 namespace extension_urls {
175 // The greatest common prefixes of the main extensions gallery's browse and 175 // The greatest common prefixes of the main extensions gallery's browse and
176 // download URLs. 176 // download URLs.
177 extern const char* kGalleryBrowsePrefix; 177 extern const char* kGalleryBrowsePrefix;
178 extern const char* kGalleryDownloadPrefix; 178 extern const char* kGalleryDownloadPrefix;
179 179
180 // The update url used by gallery/webstore extensions. 180 // The update urls used by gallery/webstore extensions.
181 extern const char* kGalleryUpdateURL; 181 extern const char* kGalleryUpdateHttpUrl;
182 extern const char* kGalleryUpdateHttpsUrl;
182 183
183 // Same thing for the "minigallery". The minigallery is the temporary static 184 // Same thing for the "minigallery". The minigallery is the temporary static
184 // themes gallery that we put up when we launched themes. 185 // themes gallery that we put up when we launched themes.
185 extern const char* kMiniGalleryBrowsePrefix; 186 extern const char* kMiniGalleryBrowsePrefix;
186 extern const char* kMiniGalleryDownloadPrefix; 187 extern const char* kMiniGalleryDownloadPrefix;
187 } // namespace extension_urls 188 } // namespace extension_urls
188 189
189 namespace extension_filenames { 190 namespace extension_filenames {
190 // The name of a temporary directory to install an extension into for 191 // The name of a temporary directory to install an extension into for
191 // validation before finalizing install. 192 // validation before finalizing install.
192 extern const char* kTempExtensionName; 193 extern const char* kTempExtensionName;
193 194
194 // The file to write our decoded images to, relative to the extension_path. 195 // The file to write our decoded images to, relative to the extension_path.
195 extern const char* kDecodedImagesFilename; 196 extern const char* kDecodedImagesFilename;
196 197
197 // The file to write our decoded message catalogs to, relative to the 198 // The file to write our decoded message catalogs to, relative to the
198 // extension_path. 199 // extension_path.
199 extern const char* kDecodedMessageCatalogsFilename; 200 extern const char* kDecodedMessageCatalogsFilename;
200 } 201 }
201 202
202 namespace extension_misc { 203 namespace extension_misc {
203 const int kUnknownWindowId = -1; 204 const int kUnknownWindowId = -1;
204 205
205 // The extension id of the bookmark manager. 206 // The extension id of the bookmark manager.
206 extern const char* kBookmarkManagerId; 207 extern const char* kBookmarkManagerId;
207 } // extension_misc 208 } // extension_misc
208 209
209 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ 210 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698