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

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 tests. Created 5 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
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 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 const char kUrlHandlerTitle[] = "title"; 176 const char kUrlHandlerTitle[] = "title";
177 const char kVersion[] = "version"; 177 const char kVersion[] = "version";
178 const char kVersionName[] = "version_name"; 178 const char kVersionName[] = "version_name";
179 const char kWebAccessibleResources[] = "web_accessible_resources"; 179 const char kWebAccessibleResources[] = "web_accessible_resources";
180 const char kWebURLs[] = "app.urls"; 180 const char kWebURLs[] = "app.urls";
181 const char kWebview[] = "webview"; 181 const char kWebview[] = "webview";
182 const char kWebviewAccessibleResources[] = "accessible_resources"; 182 const char kWebviewAccessibleResources[] = "accessible_resources";
183 const char kWebviewName[] = "name"; 183 const char kWebviewName[] = "name";
184 const char kWebviewPartitions[] = "partitions"; 184 const char kWebviewPartitions[] = "partitions";
185 const char kWhitelist[] = "whitelist"; 185 const char kWhitelist[] = "whitelist";
186 #if defined(OS_CHROMEOS)
187 const char kFileSystemProvider[] = "file_system_provider";
188 #endif
186 189
187 } // namespace manifest_keys 190 } // namespace manifest_keys
188 191
189 namespace manifest_values { 192 namespace manifest_values {
190 193
191 const char kApiKey[] = "api_key"; 194 const char kApiKey[] = "api_key";
192 const char kBrowserActionCommandEvent[] = "_execute_browser_action"; 195 const char kBrowserActionCommandEvent[] = "_execute_browser_action";
193 const char kIncognitoSplit[] = "split"; 196 const char kIncognitoSplit[] = "split";
194 const char kIncognitoSpanning[] = "spanning"; 197 const char kIncognitoSpanning[] = "spanning";
195 const char kIsolatedStorage[] = "storage"; 198 const char kIsolatedStorage[] = "storage";
(...skipping 506 matching lines...) Expand 10 before | Expand all | Expand 10 after
702 const char kReservedMessageFound[] = 705 const char kReservedMessageFound[] =
703 "Reserved key * found in message catalog."; 706 "Reserved key * found in message catalog.";
704 const char kUnrecognizedManifestKey[] = "Unrecognized manifest key '*'."; 707 const char kUnrecognizedManifestKey[] = "Unrecognized manifest key '*'.";
705 const char kUnrecognizedManifestProperty[] = 708 const char kUnrecognizedManifestProperty[] =
706 "Unrecognized property '*' of manifest key '*'."; 709 "Unrecognized property '*' of manifest key '*'.";
707 const char kWebRequestConflictsWithLazyBackground[] = 710 const char kWebRequestConflictsWithLazyBackground[] =
708 "The 'webRequest' API cannot be used with event pages."; 711 "The 'webRequest' API cannot be used with event pages.";
709 #if defined(OS_CHROMEOS) 712 #if defined(OS_CHROMEOS)
710 const char kIllegalPlugins[] = 713 const char kIllegalPlugins[] =
711 "Extensions cannot install plugins on Chrome OS"; 714 "Extensions cannot install plugins on Chrome OS";
715 const char kInvalidFileSystemProvider[] =
716 "Invalid value for 'file_system_provider'.";
712 #endif 717 #endif
713 718
714 } // namespace manifest_errors 719 } // namespace manifest_errors
715 720
716 } // namespace extensions 721 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698