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

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

Issue 1017163003: Add a warning for missing fileBrowserHandler permission. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comment out unused code. Created 5 years, 9 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 "extensions/common/manifest_constants.h" 5 #include "extensions/common/manifest_constants.h"
6 6
7 namespace extensions { 7 namespace extensions {
8 8
9 namespace manifest_keys { 9 namespace manifest_keys {
10 10
(...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after
354 const char kInvalidExportWhitelist[] = 354 const char kInvalidExportWhitelist[] =
355 "Invalid value for 'export.whitelist'."; 355 "Invalid value for 'export.whitelist'.";
356 const char kInvalidExportWhitelistString[] = 356 const char kInvalidExportWhitelistString[] =
357 "Invalid value for 'export.whitelist[*]'."; 357 "Invalid value for 'export.whitelist[*]'.";
358 const char kInvalidFileAccessList[] = 358 const char kInvalidFileAccessList[] =
359 "Invalid value for 'file_access'."; 359 "Invalid value for 'file_access'.";
360 const char kInvalidFileAccessValue[] = 360 const char kInvalidFileAccessValue[] =
361 "Invalid value for 'file_access[*]'."; 361 "Invalid value for 'file_access[*]'.";
362 const char kInvalidFileBrowserHandler[] = 362 const char kInvalidFileBrowserHandler[] =
363 "Invalid value for 'file_browser_handlers'."; 363 "Invalid value for 'file_browser_handlers'.";
364 const char kInvalidFileBrowserHandlerMissingPermission[] =
365 "Declaring file browser handlers requires the fileBrowserHandler manifest "
366 "permission.";
364 const char kInvalidFileFiltersList[] = 367 const char kInvalidFileFiltersList[] =
365 "Invalid value for 'file_filters'."; 368 "Invalid value for 'file_filters'.";
366 const char kInvalidFileFilterValue[] = 369 const char kInvalidFileFilterValue[] =
367 "Invalid value for 'file_filters[*]'."; 370 "Invalid value for 'file_filters[*]'.";
368 const char kInvalidFileHandlers[] = 371 const char kInvalidFileHandlers[] =
369 "Invalid value for 'file_handlers'."; 372 "Invalid value for 'file_handlers'.";
370 const char kInvalidFileHandlersTooManyTypesAndExtensions[] = 373 const char kInvalidFileHandlersTooManyTypesAndExtensions[] =
371 "Too many MIME and extension file_handlers have been declared."; 374 "Too many MIME and extension file_handlers have been declared.";
372 const char kInvalidFileHandlerExtension[] = 375 const char kInvalidFileHandlerExtension[] =
373 "Invalid value for 'file_handlers[*].extensions'."; 376 "Invalid value for 'file_handlers[*].extensions'.";
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after
690 const char kWebRequestConflictsWithLazyBackground[] = 693 const char kWebRequestConflictsWithLazyBackground[] =
691 "The 'webRequest' API cannot be used with event pages."; 694 "The 'webRequest' API cannot be used with event pages.";
692 #if defined(OS_CHROMEOS) 695 #if defined(OS_CHROMEOS)
693 const char kIllegalPlugins[] = 696 const char kIllegalPlugins[] =
694 "Extensions cannot install plugins on Chrome OS"; 697 "Extensions cannot install plugins on Chrome OS";
695 #endif 698 #endif
696 699
697 } // namespace manifest_errors 700 } // namespace manifest_errors
698 701
699 } // namespace extensions 702 } // 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