diff options
author | tsepez@chromium.org <tsepez@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-02-07 20:43:24 +0000 |
---|---|---|
committer | tsepez@chromium.org <tsepez@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-02-07 20:43:24 +0000 |
commit | 9a6ac543bae6757d5ed45e98f86189b591bc5205 (patch) | |
tree | 5e9857fa2f578cf834a179d26cd226cfc1d7013b /content/common/geolocation_messages.h | |
parent | 80ebef00cacd9fb9659f8532b7943ed8428df0ce (diff) | |
download | chromium_src-9a6ac543bae6757d5ed45e98f86189b591bc5205.zip chromium_src-9a6ac543bae6757d5ed45e98f86189b591bc5205.tar.gz chromium_src-9a6ac543bae6757d5ed45e98f86189b591bc5205.tar.bz2 |
Use validating form of IPC enum macros for geolocation messages.
This is part of a long-running background task to remove the remaining
uses of the unchecked IPC_ENUM_TRAITS() macro.
BUG=246708
Review URL: https://codereview.chromium.org/156993003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249768 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/common/geolocation_messages.h')
-rw-r--r-- | content/common/geolocation_messages.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/content/common/geolocation_messages.h b/content/common/geolocation_messages.h index 2c70a74..f40cdb8 100644 --- a/content/common/geolocation_messages.h +++ b/content/common/geolocation_messages.h @@ -11,7 +11,8 @@ #define IPC_MESSAGE_START GeolocationMsgStart -IPC_ENUM_TRAITS(content::Geoposition::ErrorCode) +IPC_ENUM_TRAITS_MAX_VALUE(content::Geoposition::ErrorCode, + content::Geoposition::ERROR_CODE_LAST) IPC_STRUCT_TRAITS_BEGIN(content::Geoposition) IPC_STRUCT_TRAITS_MEMBER(latitude) |