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

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

Issue 10827102: Delete dead AppsPromo code (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: . Created 8 years, 4 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 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 // histograms and preferences. 128 // histograms and preferences.
129 enum LaunchContainer { 129 enum LaunchContainer {
130 LAUNCH_WINDOW, 130 LAUNCH_WINDOW,
131 LAUNCH_PANEL, 131 LAUNCH_PANEL,
132 LAUNCH_TAB, 132 LAUNCH_TAB,
133 // For platform apps, which don't actually have a container (they just get a 133 // For platform apps, which don't actually have a container (they just get a
134 // "onLaunched" event). 134 // "onLaunched" event).
135 LAUNCH_NONE 135 LAUNCH_NONE
136 }; 136 };
137 137
138 // The name of the apps promo histogram.
139 extern const char kAppsPromoHistogram[];
140
141 // The buckets used in the apps promo histogram.
142 enum AppsPromoBuckets {
143 PROMO_LAUNCH_APP,
144 PROMO_LAUNCH_WEB_STORE,
145 PROMO_CLOSE,
146 PROMO_EXPIRE,
147 PROMO_SEEN,
148 PROMO_BUCKET_BOUNDARY
149 };
150
151 // The name of the app launch histogram. 138 // The name of the app launch histogram.
152 extern const char kAppLaunchHistogram[]; 139 extern const char kAppLaunchHistogram[];
153 140
154 // The buckets used for app launches. 141 // The buckets used for app launches.
155 enum AppLaunchBucket { 142 enum AppLaunchBucket {
156 // Launch from NTP apps section while maximized. 143 // Launch from NTP apps section while maximized.
157 APP_LAUNCH_NTP_APPS_MAXIMIZED, 144 APP_LAUNCH_NTP_APPS_MAXIMIZED,
158 145
159 // Launch from NTP apps section while collapsed. 146 // Launch from NTP apps section while collapsed.
160 APP_LAUNCH_NTP_APPS_COLLAPSED, 147 APP_LAUNCH_NTP_APPS_COLLAPSED,
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 extern const char kAppStateRunning[]; 239 extern const char kAppStateRunning[];
253 extern const char kAppStateCannotRun[]; 240 extern const char kAppStateCannotRun[];
254 extern const char kAppStateReadyToRun[]; 241 extern const char kAppStateReadyToRun[];
255 242
256 // Error indicating that the app notifications API is not accessible by split 243 // Error indicating that the app notifications API is not accessible by split
257 // mode extensions in incognito windows. 244 // mode extensions in incognito windows.
258 extern const char kAppNotificationsIncognitoError[]; 245 extern const char kAppNotificationsIncognitoError[];
259 } // extension_misc 246 } // extension_misc
260 247
261 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ 248 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698