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

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

Issue 725853002: Move app launch metric recording code from NTP to chrome/common. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More mac Created 6 years, 1 month 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
« no previous file with comments | « chrome/chrome_common.gypi ('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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 102
103 // The extension id used for testing streamsPrivate 103 // The extension id used for testing streamsPrivate
104 extern const char kStreamsPrivateTestExtensionId[]; 104 extern const char kStreamsPrivateTestExtensionId[];
105 105
106 // The extension id of the Youtube application. 106 // The extension id of the Youtube application.
107 extern const char kYoutubeAppId[]; 107 extern const char kYoutubeAppId[];
108 108
109 // The extension id of the in-app payments support application. 109 // The extension id of the in-app payments support application.
110 extern const char kInAppPaymentsSupportAppId[]; 110 extern const char kInAppPaymentsSupportAppId[];
111 111
112 // The name of the app launch histogram.
113 extern const char kAppLaunchHistogram[];
114
115 // The name of the app launch histogram for platform apps.
116 extern const char kPlatformAppLaunchHistogram[];
117
118 // The buckets used for app launches. 112 // The buckets used for app launches.
119 enum AppLaunchBucket { 113 enum AppLaunchBucket {
120 // Launch from NTP apps section while maximized. 114 // Launch from NTP apps section while maximized.
121 APP_LAUNCH_NTP_APPS_MAXIMIZED, 115 APP_LAUNCH_NTP_APPS_MAXIMIZED,
122 116
123 // Launch from NTP apps section while collapsed. 117 // Launch from NTP apps section while collapsed.
124 APP_LAUNCH_NTP_APPS_COLLAPSED, 118 APP_LAUNCH_NTP_APPS_COLLAPSED,
125 119
126 // Launch from NTP apps section while in menu mode. 120 // Launch from NTP apps section while in menu mode.
127 APP_LAUNCH_NTP_APPS_MENU, 121 APP_LAUNCH_NTP_APPS_MENU,
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 // The path part of the file system url used for media file systems. 254 // The path part of the file system url used for media file systems.
261 extern const char kMediaFileSystemPathPart[]; 255 extern const char kMediaFileSystemPathPart[];
262 256
263 // The key used for signing some pieces of data from the webstore. 257 // The key used for signing some pieces of data from the webstore.
264 extern const uint8 kWebstoreSignaturesPublicKey[]; 258 extern const uint8 kWebstoreSignaturesPublicKey[];
265 extern const int kWebstoreSignaturesPublicKeySize; 259 extern const int kWebstoreSignaturesPublicKeySize;
266 260
267 } // namespace extension_misc 261 } // namespace extension_misc
268 262
269 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ 263 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_
OLDNEW
« no previous file with comments | « chrome/chrome_common.gypi ('k') | chrome/common/extensions/extension_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698