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

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

Issue 1077823005: Declare providing extension capabilities in the manifest. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed. Created 5 years, 8 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
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 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 const char kUrlHandlerTitle[] = "title"; 173 const char kUrlHandlerTitle[] = "title";
174 const char kVersion[] = "version"; 174 const char kVersion[] = "version";
175 const char kVersionName[] = "version_name"; 175 const char kVersionName[] = "version_name";
176 const char kWebAccessibleResources[] = "web_accessible_resources"; 176 const char kWebAccessibleResources[] = "web_accessible_resources";
177 const char kWebURLs[] = "app.urls"; 177 const char kWebURLs[] = "app.urls";
178 const char kWebview[] = "webview"; 178 const char kWebview[] = "webview";
179 const char kWebviewAccessibleResources[] = "accessible_resources"; 179 const char kWebviewAccessibleResources[] = "accessible_resources";
180 const char kWebviewName[] = "name"; 180 const char kWebviewName[] = "name";
181 const char kWebviewPartitions[] = "partitions"; 181 const char kWebviewPartitions[] = "partitions";
182 const char kWhitelist[] = "whitelist"; 182 const char kWhitelist[] = "whitelist";
183 #if defined(OS_CHROMEOS)
184 const char kFileSystemProvider[] = "file_system_provider";
185 #endif
183 186
184 } // namespace manifest_keys 187 } // namespace manifest_keys
185 188
186 namespace manifest_values { 189 namespace manifest_values {
187 190
188 const char kApiKey[] = "api_key"; 191 const char kApiKey[] = "api_key";
189 const char kBrowserActionCommandEvent[] = "_execute_browser_action"; 192 const char kBrowserActionCommandEvent[] = "_execute_browser_action";
190 const char kIncognitoSplit[] = "split"; 193 const char kIncognitoSplit[] = "split";
191 const char kIncognitoSpanning[] = "spanning"; 194 const char kIncognitoSpanning[] = "spanning";
192 const char kIsolatedStorage[] = "storage"; 195 const char kIsolatedStorage[] = "storage";
(...skipping 498 matching lines...) Expand 10 before | Expand all | Expand 10 after
691 const char kReservedMessageFound[] = 694 const char kReservedMessageFound[] =
692 "Reserved key * found in message catalog."; 695 "Reserved key * found in message catalog.";
693 const char kUnrecognizedManifestKey[] = "Unrecognized manifest key '*'."; 696 const char kUnrecognizedManifestKey[] = "Unrecognized manifest key '*'.";
694 const char kUnrecognizedManifestProperty[] = 697 const char kUnrecognizedManifestProperty[] =
695 "Unrecognized property '*' of manifest key '*'."; 698 "Unrecognized property '*' of manifest key '*'.";
696 const char kWebRequestConflictsWithLazyBackground[] = 699 const char kWebRequestConflictsWithLazyBackground[] =
697 "The 'webRequest' API cannot be used with event pages."; 700 "The 'webRequest' API cannot be used with event pages.";
698 #if defined(OS_CHROMEOS) 701 #if defined(OS_CHROMEOS)
699 const char kIllegalPlugins[] = 702 const char kIllegalPlugins[] =
700 "Extensions cannot install plugins on Chrome OS"; 703 "Extensions cannot install plugins on Chrome OS";
704 const char kInvalidFileSystemProvider[] =
705 "Invalid value for 'file_system_provider'.";
701 #endif 706 #endif
702 707
703 } // namespace manifest_errors 708 } // namespace manifest_errors
704 709
705 } // namespace extensions 710 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698