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

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

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 #include "chrome/common/extensions/extension_constants.h" 5 #include "chrome/common/extensions/extension_constants.h"
6 6
7 namespace extension_manifest_keys { 7 namespace extension_manifest_keys {
8 8
9 const wchar_t* kAllFrames = L"all_frames"; 9 const wchar_t* kAllFrames = L"all_frames";
10 const wchar_t* kApp = L"app"; 10 const wchar_t* kApp = L"app";
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 "Invalid value for 'omnibox_keyword'."; 256 "Invalid value for 'omnibox_keyword'.";
257 const char* kOmniboxExperimental = 257 const char* kOmniboxExperimental =
258 "You must request the 'experimental' permission in order to use the" 258 "You must request the 'experimental' permission in order to use the"
259 " omnibox API."; 259 " omnibox API.";
260 } // namespace extension_manifest_errors 260 } // namespace extension_manifest_errors
261 261
262 namespace extension_urls { 262 namespace extension_urls {
263 const char* kGalleryBrowsePrefix = "https://chrome.google.com/extensions"; 263 const char* kGalleryBrowsePrefix = "https://chrome.google.com/extensions";
264 const char* kGalleryDownloadPrefix = 264 const char* kGalleryDownloadPrefix =
265 "https://clients2.googleusercontent.com/crx/download"; 265 "https://clients2.googleusercontent.com/crx/download";
266 const char* kGalleryUpdateURL = 266 const char* kGalleryUpdateHttpUrl =
267 "http://clients2.google.com/service/update2/crx"; 267 "http://clients2.google.com/service/update2/crx";
268 const char* kGalleryUpdateHttpsUrl =
269 "https://clients2.google.com/service/update2/crx";
268 const char* kMiniGalleryBrowsePrefix = "https://tools.google.com/chrome/"; 270 const char* kMiniGalleryBrowsePrefix = "https://tools.google.com/chrome/";
269 const char* kMiniGalleryDownloadPrefix = "https://dl-ssl.google.com/chrome/"; 271 const char* kMiniGalleryDownloadPrefix = "https://dl-ssl.google.com/chrome/";
270 } 272 }
271 273
272 namespace extension_filenames { 274 namespace extension_filenames {
273 const char* kTempExtensionName = "CRX_INSTALL"; 275 const char* kTempExtensionName = "CRX_INSTALL";
274 276
275 // The file to write our decoded images to, relative to the extension_path. 277 // The file to write our decoded images to, relative to the extension_path.
276 const char* kDecodedImagesFilename = "DECODED_IMAGES"; 278 const char* kDecodedImagesFilename = "DECODED_IMAGES";
277 279
278 // The file to write our decoded message catalogs to, relative to the 280 // The file to write our decoded message catalogs to, relative to the
279 // extension_path. 281 // extension_path.
280 const char* kDecodedMessageCatalogsFilename = "DECODED_MESSAGE_CATALOGS"; 282 const char* kDecodedMessageCatalogsFilename = "DECODED_MESSAGE_CATALOGS";
281 } 283 }
282 284
283 namespace extension_misc { 285 namespace extension_misc {
284 const char* kBookmarkManagerId = "eemcgdkfndhakfknompkggombfjjjeno"; 286 const char* kBookmarkManagerId = "eemcgdkfndhakfknompkggombfjjjeno";
285 } 287 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698