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

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

Issue 2544883006: Cleanup: Replace NTPLoggingTileSource by ntp_tiles::NTPTileSource (Closed)
Patch Set: tests Created 4 years 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/common/render_messages.h ('k') | chrome/renderer/searchbox/DEPS » ('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 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.
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 // the multi-iframe version of the NTP. 46 // the multi-iframe version of the NTP.
47 // Deleted: NTP_TILE_LOADED = 10, 47 // Deleted: NTP_TILE_LOADED = 10,
48 48
49 // All NTP tiles have finished loading (successfully or failing). Logged only 49 // All NTP tiles have finished loading (successfully or failing). Logged only
50 // by the single-iframe version of the NTP. 50 // by the single-iframe version of the NTP.
51 NTP_ALL_TILES_LOADED = 11, 51 NTP_ALL_TILES_LOADED = 11,
52 52
53 NTP_EVENT_TYPE_LAST = NTP_ALL_TILES_LOADED 53 NTP_EVENT_TYPE_LAST = NTP_ALL_TILES_LOADED
54 }; 54 };
55 55
56 // The source of an NTP tile.
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.
59 enum class NTPLoggingTileSource {
60 CLIENT = 0,
61 SERVER = 1,
62 LAST = SERVER
63 };
64
65 #endif // CHROME_COMMON_SEARCH_NTP_LOGGING_EVENTS_H_ 56 #endif // CHROME_COMMON_SEARCH_NTP_LOGGING_EVENTS_H_
OLDNEW
« no previous file with comments | « chrome/common/render_messages.h ('k') | chrome/renderer/searchbox/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698