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

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

Issue 526012: Merge 32345 - Parse messages.json in ExtensionUnpacker (like we do for manife... (Closed) Base URL: svn://svn.chromium.org/chrome/branches/249/src/
Patch Set: Created 10 years, 11 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) 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 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 const char* kInvalidUpdateURL = 180 const char* kInvalidUpdateURL =
181 "Invalid value for update url: '[*]'."; 181 "Invalid value for update url: '[*]'.";
182 const char* kInvalidDefaultLocale = 182 const char* kInvalidDefaultLocale =
183 "Invalid value for default locale - locale name must be a string."; 183 "Invalid value for default locale - locale name must be a string.";
184 const char* kOneUISurfaceOnly = 184 const char* kOneUISurfaceOnly =
185 "An extension cannot have both a page action and a browser action."; 185 "An extension cannot have both a page action and a browser action.";
186 const char* kThemesCannotContainExtensions = 186 const char* kThemesCannotContainExtensions =
187 "A theme cannot contain extensions code."; 187 "A theme cannot contain extensions code.";
188 const char* kLocalesNoDefaultLocaleSpecified = 188 const char* kLocalesNoDefaultLocaleSpecified =
189 "Localization used, but default_locale wasn't specified in the manifest."; 189 "Localization used, but default_locale wasn't specified in the manifest.";
190 const char* kLocalesNoDefaultMessages =
191 "Default locale is defined but default data couldn't be loaded.";
190 const char* kLocalesNoValidLocaleNamesListed = 192 const char* kLocalesNoValidLocaleNamesListed =
191 "No valid locale name could be found in _locales directory."; 193 "No valid locale name could be found in _locales directory.";
194 const char* kLocalesTreeMissing =
195 "Default locale was specified, but _locales subtree is missing.";
196 const char* kLocalesMessagesFileMissing =
197 "Messages file is missing for locale.";
192 const char* kInvalidOptionsPage = 198 const char* kInvalidOptionsPage =
193 "Invalid value for 'options_page'."; 199 "Invalid value for 'options_page'.";
194 } // namespace extension_manifest_errors 200 } // namespace extension_manifest_errors
195 201
196 namespace extension_urls { 202 namespace extension_urls {
197 const char* kGalleryBrowsePrefix = "https://chrome.google.com/extensions"; 203 const char* kGalleryBrowsePrefix = "https://chrome.google.com/extensions";
198 const char* kGalleryDownloadPrefix = 204 const char* kGalleryDownloadPrefix =
199 "https://clients2.googleusercontent.com/crx/download"; 205 "https://clients2.googleusercontent.com/crx/download";
200 const char* kMiniGalleryBrowsePrefix = "https://tools.google.com/chrome/"; 206 const char* kMiniGalleryBrowsePrefix = "https://tools.google.com/chrome/";
201 const char* kMiniGalleryDownloadPrefix = "https://dl-ssl.google.com/chrome/"; 207 const char* kMiniGalleryDownloadPrefix = "https://dl-ssl.google.com/chrome/";
202 } 208 }
OLDNEW
« no previous file with comments | « chrome/common/extensions/extension_constants.h ('k') | chrome/common/extensions/extension_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698