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

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

Issue 263703002: Allow shared modules to whitelist extensions that import them. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: feedback Created 6 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 | Annotate | Revision Log
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 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 const char kUpdateURL[] = "update_url"; 164 const char kUpdateURL[] = "update_url";
165 const char kUrlHandlers[] = "url_handlers"; 165 const char kUrlHandlers[] = "url_handlers";
166 const char kUrlHandlerTitle[] = "title"; 166 const char kUrlHandlerTitle[] = "title";
167 const char kVersion[] = "version"; 167 const char kVersion[] = "version";
168 const char kWebAccessibleResources[] = "web_accessible_resources"; 168 const char kWebAccessibleResources[] = "web_accessible_resources";
169 const char kWebURLs[] = "app.urls"; 169 const char kWebURLs[] = "app.urls";
170 const char kWebview[] = "webview"; 170 const char kWebview[] = "webview";
171 const char kWebviewAccessibleResources[] = "accessible_resources"; 171 const char kWebviewAccessibleResources[] = "accessible_resources";
172 const char kWebviewName[] = "name"; 172 const char kWebviewName[] = "name";
173 const char kWebviewPartitions[] = "partitions"; 173 const char kWebviewPartitions[] = "partitions";
174 const char kWhitelist[] = "whitelist";
174 175
175 } // namespace manifest_keys 176 } // namespace manifest_keys
176 177
177 namespace manifest_values { 178 namespace manifest_values {
178 179
179 const char kBrowserActionCommandEvent[] = "_execute_browser_action"; 180 const char kBrowserActionCommandEvent[] = "_execute_browser_action";
180 const char kIncognitoSplit[] = "split"; 181 const char kIncognitoSplit[] = "split";
181 const char kIncognitoSpanning[] = "spanning"; 182 const char kIncognitoSpanning[] = "spanning";
182 const char kIntentDispositionWindow[] = "window"; 183 const char kIntentDispositionWindow[] = "window";
183 const char kIntentDispositionInline[] = "inline"; 184 const char kIntentDispositionInline[] = "inline";
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
323 const char kInvalidExcludeMatches[] = 324 const char kInvalidExcludeMatches[] =
324 "Invalid value for 'content_scripts[*].exclude_matches'."; 325 "Invalid value for 'content_scripts[*].exclude_matches'.";
325 const char kInvalidExport[] = 326 const char kInvalidExport[] =
326 "Invalid value for 'export'."; 327 "Invalid value for 'export'.";
327 const char kInvalidExportPermissions[] = 328 const char kInvalidExportPermissions[] =
328 "Permissions are not allowed for extensions that export resources."; 329 "Permissions are not allowed for extensions that export resources.";
329 const char kInvalidExportResources[] = 330 const char kInvalidExportResources[] =
330 "Invalid value for 'export.resources'."; 331 "Invalid value for 'export.resources'.";
331 const char kInvalidExportResourcesString[] = 332 const char kInvalidExportResourcesString[] =
332 "Invalid value for 'export.resources[*]'."; 333 "Invalid value for 'export.resources[*]'.";
334 const char kInvalidExportWhitelist[] =
335 "Invalid value for 'export.whitelist'.";
336 const char kInvalidExportWhitelistString[] =
337 "Invalid value for 'export.whitelist[*]'.";
333 const char kInvalidFileAccessList[] = 338 const char kInvalidFileAccessList[] =
334 "Invalid value for 'file_access'."; 339 "Invalid value for 'file_access'.";
335 const char kInvalidFileAccessValue[] = 340 const char kInvalidFileAccessValue[] =
336 "Invalid value for 'file_access[*]'."; 341 "Invalid value for 'file_access[*]'.";
337 const char kInvalidFileBrowserHandler[] = 342 const char kInvalidFileBrowserHandler[] =
338 "Invalid value for 'file_browser_handlers'."; 343 "Invalid value for 'file_browser_handlers'.";
339 const char kInvalidMediaGalleriesHandler[] = 344 const char kInvalidMediaGalleriesHandler[] =
340 "Invalid value for 'media_galleries_handlers'."; 345 "Invalid value for 'media_galleries_handlers'.";
341 const char kInvalidFileFiltersList[] = 346 const char kInvalidFileFiltersList[] =
342 "Invalid value for 'file_filters'."; 347 "Invalid value for 'file_filters'.";
(...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after
712 const char kWebRequestConflictsWithLazyBackground[] = 717 const char kWebRequestConflictsWithLazyBackground[] =
713 "The 'webRequest' API cannot be used with event pages."; 718 "The 'webRequest' API cannot be used with event pages.";
714 #if defined(OS_CHROMEOS) 719 #if defined(OS_CHROMEOS)
715 const char kIllegalPlugins[] = 720 const char kIllegalPlugins[] =
716 "Extensions cannot install plugins on Chrome OS"; 721 "Extensions cannot install plugins on Chrome OS";
717 #endif 722 #endif
718 723
719 } // namespace manifest_errors 724 } // namespace manifest_errors
720 725
721 } // namespace extensions 726 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/common/manifest_constants.h ('k') | extensions/common/manifest_handlers/shared_module_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698