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

Side by Side Diff: content/common/geolocation_messages.h

Issue 9425006: Make IPC_MESSAGE_EXPORT more robust. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ffff Created 8 years, 10 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
« no previous file with comments | « no previous file | content/common/intents_messages.h » ('j') | ipc/ipc_message.h » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 // IPC messages for geolocation. 5 // IPC messages for geolocation.
6 // Multiply-included message file, hence no include guard. 6 // Multiply-included message file, hence no include guard.
7 7
8 #include "content/common/content_export.h"
8 #include "content/common/geoposition.h" 9 #include "content/common/geoposition.h"
9 #include "googleurl/src/gurl.h" 10 #include "googleurl/src/gurl.h"
10 #include "ipc/ipc_message_macros.h" 11 #include "ipc/ipc_message_macros.h"
11 12
13 #undef IPC_MESSAGE_EXPORT
14 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT
12 #define IPC_MESSAGE_START GeolocationMsgStart 15 #define IPC_MESSAGE_START GeolocationMsgStart
13 16
14 IPC_ENUM_TRAITS(Geoposition::ErrorCode) 17 IPC_ENUM_TRAITS(Geoposition::ErrorCode)
15 18
16 IPC_STRUCT_TRAITS_BEGIN(Geoposition) 19 IPC_STRUCT_TRAITS_BEGIN(Geoposition)
17 IPC_STRUCT_TRAITS_MEMBER(latitude) 20 IPC_STRUCT_TRAITS_MEMBER(latitude)
18 IPC_STRUCT_TRAITS_MEMBER(longitude) 21 IPC_STRUCT_TRAITS_MEMBER(longitude)
19 IPC_STRUCT_TRAITS_MEMBER(altitude) 22 IPC_STRUCT_TRAITS_MEMBER(altitude)
20 IPC_STRUCT_TRAITS_MEMBER(accuracy) 23 IPC_STRUCT_TRAITS_MEMBER(accuracy)
21 IPC_STRUCT_TRAITS_MEMBER(altitude_accuracy) 24 IPC_STRUCT_TRAITS_MEMBER(altitude_accuracy)
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 IPC_MESSAGE_CONTROL3(GeolocationHostMsg_StartUpdating, 66 IPC_MESSAGE_CONTROL3(GeolocationHostMsg_StartUpdating,
64 int /* render_view_id */, 67 int /* render_view_id */,
65 GURL /* GURL of the frame requesting geolocation */, 68 GURL /* GURL of the frame requesting geolocation */,
66 bool /* enable_high_accuracy */) 69 bool /* enable_high_accuracy */)
67 70
68 // The |render_view_id| requests Geolocation service to stop updating. 71 // The |render_view_id| requests Geolocation service to stop updating.
69 // Note that the geolocation service may continue to fetch geolocation data 72 // Note that the geolocation service may continue to fetch geolocation data
70 // for other origins. 73 // for other origins.
71 IPC_MESSAGE_CONTROL1(GeolocationHostMsg_StopUpdating, 74 IPC_MESSAGE_CONTROL1(GeolocationHostMsg_StopUpdating,
72 int /* render_view_id */) 75 int /* render_view_id */)
OLDNEW
« no previous file with comments | « no previous file | content/common/intents_messages.h » ('j') | ipc/ipc_message.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698