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

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

Issue 10912041: Disallow packing or loading unpacked manifest v1 extensions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: blarh Created 8 years, 3 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) 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 #include "chrome/common/extensions/extension_manifest_constants.h" 5 #include "chrome/common/extensions/extension_manifest_constants.h"
6 6
7 namespace extension_manifest_keys { 7 namespace extension_manifest_keys {
8 8
9 const char kAllFrames[] = "all_frames"; 9 const char kAllFrames[] = "all_frames";
10 const char kAltKey[] = "altKey"; 10 const char kAltKey[] = "altKey";
(...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after
322 " 'chromeos', 'linux' and 'default'."; 322 " 'chromeos', 'linux' and 'default'.";
323 const char kInvalidLaunchContainer[] = 323 const char kInvalidLaunchContainer[] =
324 "Invalid value for 'app.launch.container'."; 324 "Invalid value for 'app.launch.container'.";
325 const char kInvalidLaunchValue[] = 325 const char kInvalidLaunchValue[] =
326 "Invalid value for '*'."; 326 "Invalid value for '*'.";
327 const char kInvalidLaunchValueContainer[] = 327 const char kInvalidLaunchValueContainer[] =
328 "Invalid container type for '*'."; 328 "Invalid container type for '*'.";
329 const char kInvalidManifest[] = 329 const char kInvalidManifest[] =
330 "Manifest file is invalid."; 330 "Manifest file is invalid.";
331 const char kInvalidManifestVersion[] = 331 const char kInvalidManifestVersion[] =
332 "The 'manifest_version' key must be present and set to 2 (without quotes)."; 332 "Invalid value for 'manifest_version'. Must be an integer greater than "
333 "zero.";
334 const char kInvalidManifestVersionOld[] =
335 "The 'manifest_version' key must be present and set to * (without quotes). "
336 "See developer.chrome.com/extensions/manifestVersion.html for details.";
333 const char kInvalidMatch[] = 337 const char kInvalidMatch[] =
334 "Invalid value for 'content_scripts[*].matches[*]': *"; 338 "Invalid value for 'content_scripts[*].matches[*]': *";
335 const char kInvalidMatchCount[] = 339 const char kInvalidMatchCount[] =
336 "Invalid value for 'content_scripts[*].matches'. There must be at least " 340 "Invalid value for 'content_scripts[*].matches'. There must be at least "
337 "one match specified."; 341 "one match specified.";
338 const char kInvalidMatches[] = 342 const char kInvalidMatches[] =
339 "Required value 'content_scripts[*].matches' is missing or invalid."; 343 "Required value 'content_scripts[*].matches' is missing or invalid.";
340 const char kInvalidMinimumChromeVersion[] = 344 const char kInvalidMinimumChromeVersion[] =
341 "Invalid value for 'minimum_chrome_version'."; 345 "Invalid value for 'minimum_chrome_version'.";
342 const char kInvalidName[] = 346 const char kInvalidName[] =
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
495 const char kScriptBadgeTitleIgnored[] = 499 const char kScriptBadgeTitleIgnored[] =
496 "default_title specified in script_badge manifest section will not be " 500 "default_title specified in script_badge manifest section will not be "
497 "used."; 501 "used.";
498 const char kWebRequestConflictsWithLazyBackground[] = 502 const char kWebRequestConflictsWithLazyBackground[] =
499 "The 'webRequest' API cannot be used with event pages."; 503 "The 'webRequest' API cannot be used with event pages.";
500 #if defined(OS_CHROMEOS) 504 #if defined(OS_CHROMEOS)
501 const char kIllegalPlugins[] = 505 const char kIllegalPlugins[] =
502 "Extensions cannot install plugins on Chrome OS"; 506 "Extensions cannot install plugins on Chrome OS";
503 #endif 507 #endif
504 } // namespace extension_manifest_errors 508 } // namespace extension_manifest_errors
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698