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 // Mime type strings |
| 105 extern const char kMimeTypeJpeg[]; |
| 106 extern const char kMimeTypePng[]; |
| 107 |
104 // The extension id of the Web Store component application. | 108 // The extension id of the Web Store component application. |
105 extern const char kWebStoreAppId[]; | 109 extern const char kWebStoreAppId[]; |
106 | 110 |
107 } // namespace extensions | 111 } // namespace extensions |
108 | 112 |
109 namespace extension_misc { | 113 namespace extension_misc { |
110 | 114 |
111 // Matches chrome.windows.WINDOW_ID_NONE. | 115 // Matches chrome.windows.WINDOW_ID_NONE. |
112 const int kUnknownWindowId = -1; | 116 const int kUnknownWindowId = -1; |
113 | 117 |
(...skipping 28 matching lines...) Expand all Loading... |
142 const ui::ScaleFactor scale; | 146 const ui::ScaleFactor scale; |
143 }; | 147 }; |
144 | 148 |
145 // The icon representations for extension actions. | 149 // The icon representations for extension actions. |
146 extern const IconRepresentationInfo kExtensionActionIconSizes[]; | 150 extern const IconRepresentationInfo kExtensionActionIconSizes[]; |
147 const size_t kNumExtensionActionIconSizes = 2u; | 151 const size_t kNumExtensionActionIconSizes = 2u; |
148 | 152 |
149 } // namespace extension_misc | 153 } // namespace extension_misc |
150 | 154 |
151 #endif // EXTENSIONS_COMMON_CONSTANTS_H_ | 155 #endif // EXTENSIONS_COMMON_CONSTANTS_H_ |
OLD | NEW |