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

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
« no previous file with comments | « chrome/common/chrome_switches.cc ('k') | chrome/common/extensions/extension_constants.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 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
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
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_
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.cc ('k') | chrome/common/extensions/extension_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698