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

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

Issue 662823002: Fix incorrect IPC_ENUM_TRAITS_MAX_VALUE for NTPLoggingEventType (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git/+/split-enum
Patch Set: Rename to NTP_EVENT_TYPE_LAST Created 6 years, 2 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
« no previous file with comments | « chrome/common/ntp_logging_events.h ('k') | chrome/renderer/searchbox/searchbox_extension.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 // Multiply-included file, no traditional include guard. 5 // Multiply-included file, no traditional include guard.
6 #include <stdint.h> 6 #include <stdint.h>
7 #include <map> 7 #include <map>
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 181
182 IPC_STRUCT_TRAITS_BEGIN(blink::WebCache::UsageStats) 182 IPC_STRUCT_TRAITS_BEGIN(blink::WebCache::UsageStats)
183 IPC_STRUCT_TRAITS_MEMBER(minDeadCapacity) 183 IPC_STRUCT_TRAITS_MEMBER(minDeadCapacity)
184 IPC_STRUCT_TRAITS_MEMBER(maxDeadCapacity) 184 IPC_STRUCT_TRAITS_MEMBER(maxDeadCapacity)
185 IPC_STRUCT_TRAITS_MEMBER(capacity) 185 IPC_STRUCT_TRAITS_MEMBER(capacity)
186 IPC_STRUCT_TRAITS_MEMBER(liveSize) 186 IPC_STRUCT_TRAITS_MEMBER(liveSize)
187 IPC_STRUCT_TRAITS_MEMBER(deadSize) 187 IPC_STRUCT_TRAITS_MEMBER(deadSize)
188 IPC_STRUCT_TRAITS_END() 188 IPC_STRUCT_TRAITS_END()
189 189
190 IPC_ENUM_TRAITS_MAX_VALUE(NTPLoggingEventType, 190 IPC_ENUM_TRAITS_MAX_VALUE(NTPLoggingEventType,
191 NTP_NUM_EVENT_TYPES) 191 NTP_EVENT_TYPE_LAST)
192 192
193 IPC_ENUM_TRAITS_MAX_VALUE(WebApplicationInfo::MobileCapable, 193 IPC_ENUM_TRAITS_MAX_VALUE(WebApplicationInfo::MobileCapable,
194 WebApplicationInfo::MOBILE_CAPABLE_APPLE) 194 WebApplicationInfo::MOBILE_CAPABLE_APPLE)
195 195
196 IPC_STRUCT_TRAITS_BEGIN(WebApplicationInfo::IconInfo) 196 IPC_STRUCT_TRAITS_BEGIN(WebApplicationInfo::IconInfo)
197 IPC_STRUCT_TRAITS_MEMBER(url) 197 IPC_STRUCT_TRAITS_MEMBER(url)
198 IPC_STRUCT_TRAITS_MEMBER(width) 198 IPC_STRUCT_TRAITS_MEMBER(width)
199 IPC_STRUCT_TRAITS_MEMBER(height) 199 IPC_STRUCT_TRAITS_MEMBER(height)
200 IPC_STRUCT_TRAITS_MEMBER(data) 200 IPC_STRUCT_TRAITS_MEMBER(data)
201 IPC_STRUCT_TRAITS_END() 201 IPC_STRUCT_TRAITS_END()
(...skipping 449 matching lines...) Expand 10 before | Expand all | Expand 10 after
651 // process so that they can be assigned to an Instant renderer. 651 // process so that they can be assigned to an Instant renderer.
652 IPC_MESSAGE_CONTROL2(ChromeViewMsg_SetSearchURLs, 652 IPC_MESSAGE_CONTROL2(ChromeViewMsg_SetSearchURLs,
653 std::vector<GURL> /* search_urls */, 653 std::vector<GURL> /* search_urls */,
654 GURL /* new_tab_page_url */) 654 GURL /* new_tab_page_url */)
655 655
656 #if defined(ENABLE_PLUGINS) 656 #if defined(ENABLE_PLUGINS)
657 // Sent by the renderer to check if crash reporting is enabled. 657 // Sent by the renderer to check if crash reporting is enabled.
658 IPC_SYNC_MESSAGE_CONTROL0_1(ChromeViewHostMsg_IsCrashReportingEnabled, 658 IPC_SYNC_MESSAGE_CONTROL0_1(ChromeViewHostMsg_IsCrashReportingEnabled,
659 bool /* enabled */) 659 bool /* enabled */)
660 #endif 660 #endif
OLDNEW
« no previous file with comments | « chrome/common/ntp_logging_events.h ('k') | chrome/renderer/searchbox/searchbox_extension.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698