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

Side by Side Diff: extensions/common/manifest_constants.cc

Issue 1977303004: [Extensions] Validate file existence for chrome url overrides (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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
« no previous file with comments | « extensions/common/manifest_constants.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "build/build_config.h" 5 #include "build/build_config.h"
6 #include "extensions/common/manifest_constants.h" 6 #include "extensions/common/manifest_constants.h"
7 7
8 namespace extensions { 8 namespace extensions {
9 9
10 namespace manifest_keys { 10 namespace manifest_keys {
(...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after
286 "Cannot claim all URLs in an extent."; 286 "Cannot claim all URLs in an extent.";
287 const char kCannotScriptGallery[] = 287 const char kCannotScriptGallery[] =
288 "The extensions gallery cannot be scripted."; 288 "The extensions gallery cannot be scripted.";
289 const char kCannotScriptSigninPage[] = 289 const char kCannotScriptSigninPage[] =
290 "The sign-in page cannot be scripted."; 290 "The sign-in page cannot be scripted.";
291 const char kChromeVersionTooLow[] = 291 const char kChromeVersionTooLow[] =
292 "This extension requires * version * or greater."; 292 "This extension requires * version * or greater.";
293 const char kDisabledByPolicy[] = 293 const char kDisabledByPolicy[] =
294 "This extension has been disabled by your administrator."; 294 "This extension has been disabled by your administrator.";
295 const char kExpectString[] = "Expect string value."; 295 const char kExpectString[] = "Expect string value.";
296 const char kFileNotFound[] = "File not found: *.";
296 const char kInvalidAboutPage[] = "Invalid value for 'about_page'."; 297 const char kInvalidAboutPage[] = "Invalid value for 'about_page'.";
297 const char kInvalidAboutPageExpectRelativePath[] = 298 const char kInvalidAboutPageExpectRelativePath[] =
298 "Invalid value for 'about_page'. Value must be a relative path."; 299 "Invalid value for 'about_page'. Value must be a relative path.";
299 const char kInvalidAllFrames[] = 300 const char kInvalidAllFrames[] =
300 "Invalid value for 'content_scripts[*].all_frames'."; 301 "Invalid value for 'content_scripts[*].all_frames'.";
301 const char kInvalidAppIconColor[] = "Invalid value for app.icon_color."; 302 const char kInvalidAppIconColor[] = "Invalid value for app.icon_color.";
302 const char kInvalidBackground[] = 303 const char kInvalidBackground[] =
303 "Invalid value for 'background_page'."; 304 "Invalid value for 'background_page'.";
304 const char kInvalidBackgroundAllowJsAccess[] = 305 const char kInvalidBackgroundAllowJsAccess[] =
305 "Invalid value for 'background.allow_js_access'."; 306 "Invalid value for 'background.allow_js_access'.";
(...skipping 435 matching lines...) Expand 10 before | Expand all | Expand 10 after
741 "'file_system_provider_capabilities' section to be specified in the " 742 "'file_system_provider_capabilities' section to be specified in the "
742 "manifest."; 743 "manifest.";
743 const char kInvalidFileSystemProviderMissingPermission[] = 744 const char kInvalidFileSystemProviderMissingPermission[] =
744 "The 'file_system_provider_capabilities' section requires the " 745 "The 'file_system_provider_capabilities' section requires the "
745 "'fileSystemProvider' permission to be specified in the manifest."; 746 "'fileSystemProvider' permission to be specified in the manifest.";
746 #endif 747 #endif
747 748
748 } // namespace manifest_errors 749 } // namespace manifest_errors
749 750
750 } // namespace extensions 751 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/common/manifest_constants.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698