OLD | NEW |
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 EXTENSIONS_COMMON_CONSTANTS_H_ | 5 #ifndef EXTENSIONS_COMMON_CONSTANTS_H_ |
6 #define EXTENSIONS_COMMON_CONSTANTS_H_ | 6 #define EXTENSIONS_COMMON_CONSTANTS_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/files/file_path.h" | 9 #include "base/files/file_path.h" |
10 #include "ui/base/layout.h" | 10 #include "ui/base/layout.h" |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 // extension state resides. | 94 // extension state resides. |
95 extern const char kStateStoreName[]; | 95 extern const char kStateStoreName[]; |
96 | 96 |
97 // The name of the database inside the profile where declarative extension | 97 // The name of the database inside the profile where declarative extension |
98 // rules are stored. | 98 // rules are stored. |
99 extern const char kRulesStoreName[]; | 99 extern const char kRulesStoreName[]; |
100 | 100 |
101 // The URL query parameter key corresponding to multi-login user index. | 101 // The URL query parameter key corresponding to multi-login user index. |
102 extern const char kAuthUserQueryKey[]; | 102 extern const char kAuthUserQueryKey[]; |
103 | 103 |
| 104 // The extension id of the Web Store component application. |
| 105 extern const char kWebStoreAppId[]; |
| 106 |
104 } // namespace extensions | 107 } // namespace extensions |
105 | 108 |
106 namespace extension_misc { | 109 namespace extension_misc { |
107 | 110 |
108 // Matches chrome.windows.WINDOW_ID_NONE. | 111 // Matches chrome.windows.WINDOW_ID_NONE. |
109 const int kUnknownWindowId = -1; | 112 const int kUnknownWindowId = -1; |
110 | 113 |
111 // Matches chrome.windows.WINDOW_ID_CURRENT. | 114 // Matches chrome.windows.WINDOW_ID_CURRENT. |
112 const int kCurrentWindowId = -2; | 115 const int kCurrentWindowId = -2; |
113 | 116 |
(...skipping 25 matching lines...) Expand all Loading... |
139 const ui::ScaleFactor scale; | 142 const ui::ScaleFactor scale; |
140 }; | 143 }; |
141 | 144 |
142 // The icon representations for extension actions. | 145 // The icon representations for extension actions. |
143 extern const IconRepresentationInfo kExtensionActionIconSizes[]; | 146 extern const IconRepresentationInfo kExtensionActionIconSizes[]; |
144 const size_t kNumExtensionActionIconSizes = 2u; | 147 const size_t kNumExtensionActionIconSizes = 2u; |
145 | 148 |
146 } // namespace extension_misc | 149 } // namespace extension_misc |
147 | 150 |
148 #endif // EXTENSIONS_COMMON_CONSTANTS_H_ | 151 #endif // EXTENSIONS_COMMON_CONSTANTS_H_ |
OLD | NEW |