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

Side by Side Diff: chrome/common/extensions/extension_constants.h

Issue 16248002: Move Extension::GetBasicInfo to a static helper. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 #ifndef CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ 5 #ifndef CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_
6 #define CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ 6 #define CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 extern const char kDecodedMessageCatalogsFilename[]; 69 extern const char kDecodedMessageCatalogsFilename[];
70 70
71 // The filename to use for a background page generated from 71 // The filename to use for a background page generated from
72 // background.scripts. 72 // background.scripts.
73 extern const char kGeneratedBackgroundPageFilename[]; 73 extern const char kGeneratedBackgroundPageFilename[];
74 74
75 // Path to imported modules. 75 // Path to imported modules.
76 extern const char kModulesDir[]; 76 extern const char kModulesDir[];
77 } 77 }
78 78
79 // Keys in the dictionary returned by Extension::GetBasicInfo(). 79 // Keys in the dictionary returned by extensions::GetBasicInfo().
80 namespace extension_info_keys { 80 namespace extension_info_keys {
81 extern const char kDescriptionKey[]; 81 extern const char kDescriptionKey[];
82 extern const char kEnabledKey[]; 82 extern const char kEnabledKey[];
83 extern const char kHomepageUrlKey[]; 83 extern const char kHomepageUrlKey[];
84 extern const char kIdKey[]; 84 extern const char kIdKey[];
85 extern const char kNameKey[]; 85 extern const char kNameKey[];
86 extern const char kKioskEnabledKey[]; 86 extern const char kKioskEnabledKey[];
87 extern const char kOfflineEnabledKey[]; 87 extern const char kOfflineEnabledKey[];
88 extern const char kOptionsUrlKey[]; 88 extern const char kOptionsUrlKey[];
89 extern const char kDetailsUrlKey[]; 89 extern const char kDetailsUrlKey[];
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
347 // List of sizes for extension icons that can be defined in the manifest. 347 // List of sizes for extension icons that can be defined in the manifest.
348 extern const int kExtensionActionIconSizes[]; 348 extern const int kExtensionActionIconSizes[];
349 extern const size_t kNumExtensionActionIconSizes; 349 extern const size_t kNumExtensionActionIconSizes;
350 350
351 // List of sizes for extension icons that can be defined in the manifest. 351 // List of sizes for extension icons that can be defined in the manifest.
352 extern const int kScriptBadgeIconSizes[]; 352 extern const int kScriptBadgeIconSizes[];
353 extern const size_t kNumScriptBadgeIconSizes; 353 extern const size_t kNumScriptBadgeIconSizes;
354 } // namespace extension_misc 354 } // namespace extension_misc
355 355
356 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ 356 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698