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

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

Issue 2435683003: Cleanup desktop NTP metrics recording, part 2 (Closed)
Patch Set: review Created 4 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/browser/ui/webui/ntp/ntp_user_data_logger_unittest.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_SEARCH_NTP_LOGGING_EVENTS_H_ 5 #ifndef CHROME_COMMON_SEARCH_NTP_LOGGING_EVENTS_H_
6 #define CHROME_COMMON_SEARCH_NTP_LOGGING_EVENTS_H_ 6 #define CHROME_COMMON_SEARCH_NTP_LOGGING_EVENTS_H_
7 7
8 // The different types of events that are logged from the NTP. This enum is used 8 // The different types of events that are logged from the NTP. This enum is used
9 // to transfer information from the NTP javascript to the renderer and is not 9 // to transfer information from the NTP javascript to the renderer and is not
10 // used as a UMA enum histogram's logged value. 10 // used as a UMA enum histogram's logged value.
11 // Note: Keep in sync with browser/resources/local_ntp/most_visited_single.js 11 // Note: Keep in sync with browser/resources/local_ntp/most_visited_single.js
12 enum NTPLoggingEventType { 12 enum NTPLoggingEventType {
13 // A suggestion coming from the server was rendered. 13 // A suggestion coming from the server was rendered.
14 NTP_SERVER_SIDE_SUGGESTION = 0, 14 // Deleted: NTP_SERVER_SIDE_SUGGESTION = 0,
15 15
16 // A suggestion coming from the client was rendered. 16 // A suggestion coming from the client was rendered.
17 NTP_CLIENT_SIDE_SUGGESTION = 1, 17 // Deleted: NTP_CLIENT_SIDE_SUGGESTION = 1,
18 18
19 // Indicates a tile was rendered, no matter if it's a thumbnail, a gray tile 19 // Indicates a tile was rendered, no matter if it's a thumbnail, a gray tile
20 // or an external tile. 20 // or an external tile.
21 // Deleted: NTP_TILE = 2, 21 // Deleted: NTP_TILE = 2,
22 22
23 // The tile uses a local thumbnail image. 23 // The tile uses a local thumbnail image.
24 // Deleted: NTP_THUMBNAIL_TILE = 3, 24 // Deleted: NTP_THUMBNAIL_TILE = 3,
25 25
26 // Used when no thumbnail is specified and a gray tile with the domain is used 26 // Used when no thumbnail is specified and a gray tile with the domain is used
27 // as the main tile. 27 // as the main tile.
(...skipping 28 matching lines...) Expand all
56 // The source of an NTP tile. 56 // The source of an NTP tile.
57 // Note: Keep in sync with browser/resources/local_ntp/most_visited_single.js. 57 // Note: Keep in sync with browser/resources/local_ntp/most_visited_single.js.
58 // TODO(treib): Merge this into MostVisitedSource from components/ntp_tiles. 58 // TODO(treib): Merge this into MostVisitedSource from components/ntp_tiles.
59 enum class NTPLoggingTileSource { 59 enum class NTPLoggingTileSource {
60 CLIENT = 0, 60 CLIENT = 0,
61 SERVER = 1, 61 SERVER = 1,
62 LAST = SERVER 62 LAST = SERVER
63 }; 63 };
64 64
65 #endif // CHROME_COMMON_SEARCH_NTP_LOGGING_EVENTS_H_ 65 #endif // CHROME_COMMON_SEARCH_NTP_LOGGING_EVENTS_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/ntp/ntp_user_data_logger_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698