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

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

Issue 10828363: Improve error message for insecure 'content_security_policy' manifest entries. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Aaron's sentence. 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 #ifndef CHROME_COMMON_EXTENSIONS_EXTENSION_MANIFEST_CONSTANTS_H_ 5 #ifndef CHROME_COMMON_EXTENSIONS_EXTENSION_MANIFEST_CONSTANTS_H_
6 #define CHROME_COMMON_EXTENSIONS_EXTENSION_MANIFEST_CONSTANTS_H_ 6 #define CHROME_COMMON_EXTENSIONS_EXTENSION_MANIFEST_CONSTANTS_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after
299 extern const char kInvalidTtsVoicesLang[]; 299 extern const char kInvalidTtsVoicesLang[];
300 extern const char kInvalidTtsVoicesVoiceName[]; 300 extern const char kInvalidTtsVoicesVoiceName[];
301 extern const char kInvalidUpdateURL[]; 301 extern const char kInvalidUpdateURL[];
302 extern const char kInvalidURLPatternError[]; 302 extern const char kInvalidURLPatternError[];
303 extern const char kInvalidVersion[]; 303 extern const char kInvalidVersion[];
304 extern const char kInvalidWebAccessibleResourcesList[]; 304 extern const char kInvalidWebAccessibleResourcesList[];
305 extern const char kInvalidWebAccessibleResource[]; 305 extern const char kInvalidWebAccessibleResource[];
306 extern const char kInvalidWebURL[]; 306 extern const char kInvalidWebURL[];
307 extern const char kInvalidWebURLs[]; 307 extern const char kInvalidWebURLs[];
308 extern const char kInvalidZipHash[]; 308 extern const char kInvalidZipHash[];
309 extern const char kInsecureContentSecurityPolicy[];
309 extern const char kLaunchPathAndExtentAreExclusive[]; 310 extern const char kLaunchPathAndExtentAreExclusive[];
310 extern const char kLaunchPathAndURLAreExclusive[]; 311 extern const char kLaunchPathAndURLAreExclusive[];
311 extern const char kLaunchURLRequired[]; 312 extern const char kLaunchURLRequired[];
312 extern const char kLocalesMessagesFileMissing[]; 313 extern const char kLocalesMessagesFileMissing[];
313 extern const char kLocalesNoDefaultLocaleSpecified[]; 314 extern const char kLocalesNoDefaultLocaleSpecified[];
314 extern const char kLocalesNoDefaultMessages[]; 315 extern const char kLocalesNoDefaultMessages[];
315 extern const char kLocalesNoValidLocaleNamesListed[]; 316 extern const char kLocalesNoValidLocaleNamesListed[];
316 extern const char kLocalesTreeMissing[]; 317 extern const char kLocalesTreeMissing[];
317 extern const char kManifestParseError[]; 318 extern const char kManifestParseError[];
318 extern const char kManifestUnreadable[]; 319 extern const char kManifestUnreadable[];
319 extern const char kMissingFile[]; 320 extern const char kMissingFile[];
320 extern const char kMultipleOverrides[]; 321 extern const char kMultipleOverrides[];
321 extern const char kNoWildCardsInPaths[]; 322 extern const char kNoWildCardsInPaths[];
322 extern const char kPermissionNotAllowed[]; 323 extern const char kPermissionNotAllowed[];
323 extern const char kPlatformAppNeedsManifestVersion2[]; 324 extern const char kPlatformAppNeedsManifestVersion2[];
324 extern const char kOneUISurfaceOnly[]; 325 extern const char kOneUISurfaceOnly[];
325 extern const char kReservedMessageFound[]; 326 extern const char kReservedMessageFound[];
326 extern const char kScriptBadgeRequiresFlag[]; 327 extern const char kScriptBadgeRequiresFlag[];
327 extern const char kScriptBadgeIconIgnored[]; 328 extern const char kScriptBadgeIconIgnored[];
328 extern const char kScriptBadgeTitleIgnored[]; 329 extern const char kScriptBadgeTitleIgnored[];
329 extern const char kWebRequestConflictsWithLazyBackground[]; 330 extern const char kWebRequestConflictsWithLazyBackground[];
330 #if defined(OS_CHROMEOS) 331 #if defined(OS_CHROMEOS)
331 extern const char kIllegalPlugins[]; 332 extern const char kIllegalPlugins[];
332 #endif 333 #endif
333 } // namespace extension_manifest_errors 334 } // namespace extension_manifest_errors
334 335
335 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_MANIFEST_CONSTANTS_H_ 336 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_MANIFEST_CONSTANTS_H_
OLDNEW
« no previous file with comments | « chrome/common/extensions/extension.cc ('k') | chrome/common/extensions/extension_manifest_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698