Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 434 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 445 const char kInvalidWebAccessibleResourcesList[] = | 445 const char kInvalidWebAccessibleResourcesList[] = |
| 446 "Invalid value for 'web_accessible_resources'."; | 446 "Invalid value for 'web_accessible_resources'."; |
| 447 const char kInvalidWebAccessibleResource[] = | 447 const char kInvalidWebAccessibleResource[] = |
| 448 "Invalid value for 'web_accessible_resources[*]'."; | 448 "Invalid value for 'web_accessible_resources[*]'."; |
| 449 const char kInvalidWebURL[] = | 449 const char kInvalidWebURL[] = |
| 450 "Invalid value for 'app.urls[*]': *"; | 450 "Invalid value for 'app.urls[*]': *"; |
| 451 const char kInvalidWebURLs[] = | 451 const char kInvalidWebURLs[] = |
| 452 "Invalid value for 'app.urls'."; | 452 "Invalid value for 'app.urls'."; |
| 453 const char kInvalidZipHash[] = | 453 const char kInvalidZipHash[] = |
| 454 "Required key 'zip_hash' is missing or invalid."; | 454 "Required key 'zip_hash' is missing or invalid."; |
| 455 const char kInsecureContentSecurityPolicy[] = | |
| 456 "Invalid value for 'content_security_policy': 'script-src' and 'object-src'" | |
| 457 " can only contain secure resources. You may whitelist HTTPS origins," | |
| 458 " \"chrome-extension:\" resources, \"'self'\", http://127.0.0.1, and" | |
| 459 " http://localhost)."; | |
|
abarth-chromium
2012/08/27 06:51:57
It's confusing when you're using single and when y
| |
| 455 const char kLaunchPathAndExtentAreExclusive[] = | 460 const char kLaunchPathAndExtentAreExclusive[] = |
| 456 "The 'app.launch.local_path' and 'app.urls' keys cannot both be set."; | 461 "The 'app.launch.local_path' and 'app.urls' keys cannot both be set."; |
| 457 const char kLaunchPathAndURLAreExclusive[] = | 462 const char kLaunchPathAndURLAreExclusive[] = |
| 458 "The 'app.launch.local_path' and 'app.launch.web_url' keys cannot " | 463 "The 'app.launch.local_path' and 'app.launch.web_url' keys cannot " |
| 459 "both be set."; | 464 "both be set."; |
| 460 const char kLaunchURLRequired[] = | 465 const char kLaunchURLRequired[] = |
| 461 "Either 'app.launch.local_path' or 'app.launch.web_url' is required."; | 466 "Either 'app.launch.local_path' or 'app.launch.web_url' is required."; |
| 462 const char kLocalesMessagesFileMissing[] = | 467 const char kLocalesMessagesFileMissing[] = |
| 463 "Messages file is missing for locale."; | 468 "Messages file is missing for locale."; |
| 464 const char kLocalesNoDefaultLocaleSpecified[] = | 469 const char kLocalesNoDefaultLocaleSpecified[] = |
| (...skipping 30 matching lines...) Expand all Loading... | |
| 495 const char kScriptBadgeTitleIgnored[] = | 500 const char kScriptBadgeTitleIgnored[] = |
| 496 "default_title specified in script_badge manifest section will not be " | 501 "default_title specified in script_badge manifest section will not be " |
| 497 "used."; | 502 "used."; |
| 498 const char kWebRequestConflictsWithLazyBackground[] = | 503 const char kWebRequestConflictsWithLazyBackground[] = |
| 499 "The 'webRequest' API cannot be used with event pages."; | 504 "The 'webRequest' API cannot be used with event pages."; |
| 500 #if defined(OS_CHROMEOS) | 505 #if defined(OS_CHROMEOS) |
| 501 const char kIllegalPlugins[] = | 506 const char kIllegalPlugins[] = |
| 502 "Extensions cannot install plugins on Chrome OS"; | 507 "Extensions cannot install plugins on Chrome OS"; |
| 503 #endif | 508 #endif |
| 504 } // namespace extension_manifest_errors | 509 } // namespace extension_manifest_errors |
| OLD | NEW |