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/files/file_path.h" | 8 #include "base/files/file_path.h" |
9 | 9 |
10 namespace extensions { | 10 namespace extensions { |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 // The name of the database inside the profile where chrome-internal | 78 // The name of the database inside the profile where chrome-internal |
79 // extension state resides. | 79 // extension state resides. |
80 extern const char kStateStoreName[]; | 80 extern const char kStateStoreName[]; |
81 | 81 |
82 // The name of the database inside the profile where declarative extension | 82 // The name of the database inside the profile where declarative extension |
83 // rules are stored. | 83 // rules are stored. |
84 extern const char kRulesStoreName[]; | 84 extern const char kRulesStoreName[]; |
85 | 85 |
86 // Don't remove items or change the order of this enum. It's used in | 86 // Don't remove items or change the order of this enum. It's used in |
87 // histograms and preferences. | 87 // histograms and preferences. |
| 88 // TODO(derat): Move this to chrome/browser/extensions/launch_util.h? |
88 enum LaunchContainer { | 89 enum LaunchContainer { |
89 LAUNCH_WINDOW, | 90 LAUNCH_WINDOW, |
90 LAUNCH_PANEL, | 91 LAUNCH_PANEL, |
91 LAUNCH_TAB, | 92 LAUNCH_TAB, |
92 // For platform apps, which don't actually have a container (they just get a | 93 // For platform apps, which don't actually have a container (they just get a |
93 // "onLaunched" event). | 94 // "onLaunched" event). |
94 LAUNCH_NONE | 95 LAUNCH_NONE |
95 }; | 96 }; |
96 | 97 |
97 } // namespace extensions | 98 } // namespace extensions |
98 | 99 |
99 #endif // EXTENSIONS_COMMON_CONSTANTS_H_ | 100 #endif // EXTENSIONS_COMMON_CONSTANTS_H_ |
OLD | NEW |