OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 // This header is meant to be included in multiple passes, hence no traditional | 5 // This header is meant to be included in multiple passes, hence no traditional |
6 // header guard. | 6 // header guard. |
7 // See ipc_message_macros.h for explanation of the macros and passes. | 7 // See ipc_message_macros.h for explanation of the macros and passes. |
8 | 8 |
9 #include <map> | 9 #include <map> |
10 #include <string> | 10 #include <string> |
11 #include <vector> | 11 #include <vector> |
12 | 12 |
13 #include "build/build_config.h" | 13 #include "build/build_config.h" |
14 | 14 |
15 #include "base/file_path.h" | 15 #include "base/file_path.h" |
16 #include "base/nullable_string16.h" | 16 #include "base/nullable_string16.h" |
17 #include "base/sync_socket.h" | 17 #include "base/sync_socket.h" |
| 18 #include "base/time.h" |
18 #include "base/values.h" | 19 #include "base/values.h" |
19 #include "chrome/common/content_settings.h" | 20 #include "chrome/common/content_settings.h" |
20 #include "chrome/common/extensions/update_manifest.h" | 21 #include "chrome/common/extensions/update_manifest.h" |
21 #include "chrome/common/geoposition.h" | 22 #include "chrome/common/geoposition.h" |
22 #include "chrome/common/nacl_types.h" | 23 #include "chrome/common/nacl_types.h" |
23 #include "chrome/common/notification_type.h" | 24 #include "chrome/common/notification_type.h" |
24 #include "chrome/common/page_zoom.h" | 25 #include "chrome/common/page_zoom.h" |
25 #include "gfx/rect.h" | 26 #include "gfx/rect.h" |
26 #include "ipc/ipc_channel_handle.h" | 27 #include "ipc/ipc_channel_handle.h" |
27 #include "ipc/ipc_message.h" | 28 #include "ipc/ipc_message.h" |
(...skipping 2065 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2093 IPC_SYNC_MESSAGE_CONTROL2_1(ViewHostMsg_DOMStorageClear, | 2094 IPC_SYNC_MESSAGE_CONTROL2_1(ViewHostMsg_DOMStorageClear, |
2094 int64 /* storage_area_id */, | 2095 int64 /* storage_area_id */, |
2095 GURL /* url */, | 2096 GURL /* url */, |
2096 bool /* something_cleared */) | 2097 bool /* something_cleared */) |
2097 | 2098 |
2098 // Get file size in bytes. Set result to -1 if failed to get the file size. | 2099 // Get file size in bytes. Set result to -1 if failed to get the file size. |
2099 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_GetFileSize, | 2100 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_GetFileSize, |
2100 FilePath /* path */, | 2101 FilePath /* path */, |
2101 int64 /* result */) | 2102 int64 /* result */) |
2102 | 2103 |
| 2104 // Get file modification time in seconds. Set result to 0 if failed to get the |
| 2105 // file modification time. |
| 2106 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_GetFileModificationTime, |
| 2107 FilePath /* path */, |
| 2108 base::Time /* result */) |
| 2109 |
2103 // Sent by the renderer process to acknowledge receipt of a | 2110 // Sent by the renderer process to acknowledge receipt of a |
2104 // ViewMsg_CSSInsertRequest message and css has been inserted into the frame. | 2111 // ViewMsg_CSSInsertRequest message and css has been inserted into the frame. |
2105 IPC_MESSAGE_ROUTED0(ViewHostMsg_OnCSSInserted) | 2112 IPC_MESSAGE_ROUTED0(ViewHostMsg_OnCSSInserted) |
2106 | 2113 |
2107 // Asks the browser process to open a DB file with the given name | 2114 // Asks the browser process to open a DB file with the given name |
2108 IPC_MESSAGE_CONTROL3(ViewHostMsg_DatabaseOpenFile, | 2115 IPC_MESSAGE_CONTROL3(ViewHostMsg_DatabaseOpenFile, |
2109 string16 /* vfs file name */, | 2116 string16 /* vfs file name */, |
2110 int /* desired flags */, | 2117 int /* desired flags */, |
2111 int32 /* a unique message ID */) | 2118 int32 /* a unique message ID */) |
2112 | 2119 |
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2270 int /* render_view_id */, | 2277 int /* render_view_id */, |
2271 int /* bridge_id */) | 2278 int /* bridge_id */) |
2272 | 2279 |
2273 // The |render_view_id| and |bridge_id| requests Geolocation service to | 2280 // The |render_view_id| and |bridge_id| requests Geolocation service to |
2274 // resume. | 2281 // resume. |
2275 IPC_MESSAGE_CONTROL2(ViewHostMsg_Geolocation_Resume, | 2282 IPC_MESSAGE_CONTROL2(ViewHostMsg_Geolocation_Resume, |
2276 int /* render_view_id */, | 2283 int /* render_view_id */, |
2277 int /* bridge_id */) | 2284 int /* bridge_id */) |
2278 | 2285 |
2279 IPC_END_MESSAGES(ViewHost) | 2286 IPC_END_MESSAGES(ViewHost) |
OLD | NEW |