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

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

Issue 2855009: Only allow installation of extensions/apps with gallery update url via download from gallery (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: name change Created 10 years, 6 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* kBackground = L"background_page"; 10 const wchar_t* kBackground = L"background_page";
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 "Invalid value for 'omnibox_keyword'."; 249 "Invalid value for 'omnibox_keyword'.";
250 const char* kOmniboxExperimental = 250 const char* kOmniboxExperimental =
251 "You must request the 'experimental' permission in order to use the" 251 "You must request the 'experimental' permission in order to use the"
252 " omnibox API."; 252 " omnibox API.";
253 } // namespace extension_manifest_errors 253 } // namespace extension_manifest_errors
254 254
255 namespace extension_urls { 255 namespace extension_urls {
256 const char* kGalleryBrowsePrefix = "https://chrome.google.com/extensions"; 256 const char* kGalleryBrowsePrefix = "https://chrome.google.com/extensions";
257 const char* kGalleryDownloadPrefix = 257 const char* kGalleryDownloadPrefix =
258 "https://clients2.googleusercontent.com/crx/download"; 258 "https://clients2.googleusercontent.com/crx/download";
259 const char* kGalleryUpdateURL =
260 "http://clients2.google.com/service/update2/crx";
259 const char* kMiniGalleryBrowsePrefix = "https://tools.google.com/chrome/"; 261 const char* kMiniGalleryBrowsePrefix = "https://tools.google.com/chrome/";
260 const char* kMiniGalleryDownloadPrefix = "https://dl-ssl.google.com/chrome/"; 262 const char* kMiniGalleryDownloadPrefix = "https://dl-ssl.google.com/chrome/";
261 } 263 }
262 264
263 namespace extension_filenames { 265 namespace extension_filenames {
264 const char* kTempExtensionName = "CRX_INSTALL"; 266 const char* kTempExtensionName = "CRX_INSTALL";
265 267
266 // The file to write our decoded images to, relative to the extension_path. 268 // The file to write our decoded images to, relative to the extension_path.
267 const char* kDecodedImagesFilename = "DECODED_IMAGES"; 269 const char* kDecodedImagesFilename = "DECODED_IMAGES";
268 270
269 // The file to write our decoded message catalogs to, relative to the 271 // The file to write our decoded message catalogs to, relative to the
270 // extension_path. 272 // extension_path.
271 const char* kDecodedMessageCatalogsFilename = "DECODED_MESSAGE_CATALOGS"; 273 const char* kDecodedMessageCatalogsFilename = "DECODED_MESSAGE_CATALOGS";
272 } 274 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698