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

Side by Side Diff: chrome/common/extensions/extension_manifest_constants.cc

Issue 11882025: Move "oauth2" manifest key parsing out of Extension class. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 7 years, 11 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "chrome/common/extensions/extension_manifest_constants.h" 5 #include "chrome/common/extensions/extension_manifest_constants.h"
6 6
7 namespace extension_manifest_keys { 7 namespace extension_manifest_keys {
8 8
9 const char kAllFrames[] = "all_frames"; 9 const char kAllFrames[] = "all_frames";
10 const char kAltKey[] = "altKey"; 10 const char kAltKey[] = "altKey";
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 const char kLayouts[] = "layouts"; 69 const char kLayouts[] = "layouts";
70 const char kManifestVersion[] = "manifest_version"; 70 const char kManifestVersion[] = "manifest_version";
71 const char kMatches[] = "matches"; 71 const char kMatches[] = "matches";
72 const char kMinimumChromeVersion[] = "minimum_chrome_version"; 72 const char kMinimumChromeVersion[] = "minimum_chrome_version";
73 const char kMIMETypes[] = "mime_types"; 73 const char kMIMETypes[] = "mime_types";
74 const char kName[] = "name"; 74 const char kName[] = "name";
75 const char kNaClModules[] = "nacl_modules"; 75 const char kNaClModules[] = "nacl_modules";
76 const char kNaClModulesMIMEType[] = "mime_type"; 76 const char kNaClModulesMIMEType[] = "mime_type";
77 const char kNaClModulesPath[] = "path"; 77 const char kNaClModulesPath[] = "path";
78 const char kOAuth2[] = "oauth2"; 78 const char kOAuth2[] = "oauth2";
79 const char kOAuth2ClientId[] = "oauth2.client_id";
80 const char kOAuth2Scopes[] = "oauth2.scopes";
81 const char kOfflineEnabled[] = "offline_enabled"; 79 const char kOfflineEnabled[] = "offline_enabled";
82 const char kOmnibox[] = "omnibox"; 80 const char kOmnibox[] = "omnibox";
83 const char kOmniboxKeyword[] = "omnibox.keyword"; 81 const char kOmniboxKeyword[] = "omnibox.keyword";
84 const char kOptionalPermissions[] = "optional_permissions"; 82 const char kOptionalPermissions[] = "optional_permissions";
85 const char kOptionsPage[] = "options_page"; 83 const char kOptionsPage[] = "options_page";
86 const char kPageAction[] = "page_action"; 84 const char kPageAction[] = "page_action";
87 const char kPageActionDefaultIcon[] = "default_icon"; 85 const char kPageActionDefaultIcon[] = "default_icon";
88 const char kPageActionDefaultPopup[] = "default_popup"; 86 const char kPageActionDefaultPopup[] = "default_popup";
89 const char kPageActionDefaultTitle[] = "default_title"; 87 const char kPageActionDefaultTitle[] = "default_title";
90 const char kPageActionIcons[] = "icons"; 88 const char kPageActionIcons[] = "icons";
(...skipping 455 matching lines...) Expand 10 before | Expand all | Expand 10 after
546 const char kScriptBadgeTitleIgnored[] = 544 const char kScriptBadgeTitleIgnored[] =
547 "default_title specified in script_badge manifest section will not be " 545 "default_title specified in script_badge manifest section will not be "
548 "used."; 546 "used.";
549 const char kWebRequestConflictsWithLazyBackground[] = 547 const char kWebRequestConflictsWithLazyBackground[] =
550 "The 'webRequest' API cannot be used with event pages."; 548 "The 'webRequest' API cannot be used with event pages.";
551 #if defined(OS_CHROMEOS) 549 #if defined(OS_CHROMEOS)
552 const char kIllegalPlugins[] = 550 const char kIllegalPlugins[] =
553 "Extensions cannot install plugins on Chrome OS"; 551 "Extensions cannot install plugins on Chrome OS";
554 #endif 552 #endif
555 } // namespace extension_manifest_errors 553 } // namespace extension_manifest_errors
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698