| 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 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 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 126 // histograms and preferences. | 126 // histograms and preferences. |
| 127 enum LaunchContainer { | 127 enum LaunchContainer { |
| 128 LAUNCH_WINDOW, | 128 LAUNCH_WINDOW, |
| 129 LAUNCH_PANEL, | 129 LAUNCH_PANEL, |
| 130 LAUNCH_TAB, | 130 LAUNCH_TAB, |
| 131 // For platform apps, which don't actually have a container (they just get a | 131 // For platform apps, which don't actually have a container (they just get a |
| 132 // "onLaunched" event). | 132 // "onLaunched" event). |
| 133 LAUNCH_NONE | 133 LAUNCH_NONE |
| 134 }; | 134 }; |
| 135 | 135 |
| 136 // The name of the apps promo histogram. | |
| 137 extern const char kAppsPromoHistogram[]; | |
| 138 | |
| 139 // The buckets used in the apps promo histogram. | |
| 140 enum AppsPromoBuckets { | |
| 141 PROMO_LAUNCH_APP, | |
| 142 PROMO_LAUNCH_WEB_STORE, | |
| 143 PROMO_CLOSE, | |
| 144 PROMO_EXPIRE, | |
| 145 PROMO_SEEN, | |
| 146 PROMO_BUCKET_BOUNDARY | |
| 147 }; | |
| 148 | |
| 149 // The name of the app launch histogram. | 136 // The name of the app launch histogram. |
| 150 extern const char kAppLaunchHistogram[]; | 137 extern const char kAppLaunchHistogram[]; |
| 151 | 138 |
| 152 // The buckets used for app launches. | 139 // The buckets used for app launches. |
| 153 enum AppLaunchBucket { | 140 enum AppLaunchBucket { |
| 154 // Launch from NTP apps section while maximized. | 141 // Launch from NTP apps section while maximized. |
| 155 APP_LAUNCH_NTP_APPS_MAXIMIZED, | 142 APP_LAUNCH_NTP_APPS_MAXIMIZED, |
| 156 | 143 |
| 157 // Launch from NTP apps section while collapsed. | 144 // Launch from NTP apps section while collapsed. |
| 158 APP_LAUNCH_NTP_APPS_COLLAPSED, | 145 APP_LAUNCH_NTP_APPS_COLLAPSED, |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 253 | 240 |
| 254 // The path part of the file system url used for media file systems. | 241 // The path part of the file system url used for media file systems. |
| 255 extern const char kMediaFileSystemPathPart[]; | 242 extern const char kMediaFileSystemPathPart[]; |
| 256 | 243 |
| 257 // Error indicating that the app notifications API is not accessible by split | 244 // Error indicating that the app notifications API is not accessible by split |
| 258 // mode extensions in incognito windows. | 245 // mode extensions in incognito windows. |
| 259 extern const char kAppNotificationsIncognitoError[]; | 246 extern const char kAppNotificationsIncognitoError[]; |
| 260 } // extension_misc | 247 } // extension_misc |
| 261 | 248 |
| 262 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ | 249 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ |
| OLD | NEW |