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

Side by Side Diff: chrome/common/ntp_logging_events.h

Issue 23874005: Ensure the 1993 NTP logs to UMA Most Visited tiles that use the fallback thumbnail instead of the p… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_NTP_LOGGING_EVENTS_H_ 5 #ifndef CHROME_COMMON_NTP_LOGGING_EVENTS_H_
6 #define CHROME_COMMON_NTP_LOGGING_EVENTS_H_ 6 #define CHROME_COMMON_NTP_LOGGING_EVENTS_H_
7 7
8 // The different types of events that are logged from the NTP. 8 // The different types of events that are logged from the NTP.
9 enum NTPLoggingEventType { 9 enum NTPLoggingEventType {
10 // The user moused over an NTP tile or title. 10 // The user moused over an NTP tile or title.
11 NTP_MOUSEOVER = 0, 11 NTP_MOUSEOVER = 0,
12 12
13 // The page attempted to load a thumbnail image. 13 // The page attempted to load a thumbnail image.
14 NTP_THUMBNAIL_ATTEMPT = 1, 14 NTP_THUMBNAIL_ATTEMPT = 1,
15 15
16 // There was an error in loading a thumbnail image. 16 // There was an error in loading a thumbnail image.
17 NTP_THUMBNAIL_ERROR = 2, 17 NTP_THUMBNAIL_ERROR = 2,
18 18
19 // The page attempted to load a thumbnail image and provided a fallback.
20 NTP_THUMBNAIL_WITH_FALLBACK_ATTEMPT = 3,
21
22 // The primary thumbnail image failed to load and caused a fallback to the
23 // secondary thumbnail.
24 NTP_THUMBNAIL_FALLBACK = 4,
25
19 NTP_NUM_EVENT_TYPES 26 NTP_NUM_EVENT_TYPES
20 }; 27 };
21 28
22 #endif // CHROME_COMMON_NTP_LOGGING_EVENTS_H_ 29 #endif // CHROME_COMMON_NTP_LOGGING_EVENTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698