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/file_util_proxy.h" |
16 #include "base/nullable_string16.h" | 17 #include "base/nullable_string16.h" |
17 #include "base/platform_file.h" | 18 #include "base/platform_file.h" |
18 #include "base/sync_socket.h" | 19 #include "base/sync_socket.h" |
19 #include "chrome/common/content_settings.h" | 20 #include "chrome/common/content_settings.h" |
20 #include "chrome/common/geoposition.h" | 21 #include "chrome/common/geoposition.h" |
21 #include "chrome/common/nacl_types.h" | 22 #include "chrome/common/nacl_types.h" |
22 #include "chrome/common/notification_type.h" | 23 #include "chrome/common/notification_type.h" |
23 #include "chrome/common/page_zoom.h" | 24 #include "chrome/common/page_zoom.h" |
24 #include "chrome/common/speech_input_result.h" | 25 #include "chrome/common/speech_input_result.h" |
25 #include "chrome/common/translate_errors.h" | 26 #include "chrome/common/translate_errors.h" |
(...skipping 17 matching lines...) Expand all Loading... |
43 // to typedef it to avoid that. | 44 // to typedef it to avoid that. |
44 // Substitution map for l10n messages. | 45 // Substitution map for l10n messages. |
45 typedef std::map<std::string, std::string> SubstitutionMap; | 46 typedef std::map<std::string, std::string> SubstitutionMap; |
46 | 47 |
47 class GPUInfo; | 48 class GPUInfo; |
48 class SerializedScriptValue; | 49 class SerializedScriptValue; |
49 class SkBitmap; | 50 class SkBitmap; |
50 struct ThumbnailScore; | 51 struct ThumbnailScore; |
51 class WebCursor; | 52 class WebCursor; |
52 | 53 |
53 namespace base { | |
54 namespace file_util_proxy { | |
55 struct Entry; | |
56 } | |
57 } | |
58 | |
59 namespace gfx { | 54 namespace gfx { |
60 class Rect; | 55 class Rect; |
61 } | 56 } |
62 | 57 |
63 namespace IPC { | 58 namespace IPC { |
64 struct ChannelHandle; | 59 struct ChannelHandle; |
65 class Message; | 60 class Message; |
66 } | 61 } |
67 | 62 |
68 namespace webkit_blob { | 63 namespace webkit_blob { |
(...skipping 1019 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1088 FilePath /* root_path */) | 1083 FilePath /* root_path */) |
1089 | 1084 |
1090 // WebFileSystem response messages. | 1085 // WebFileSystem response messages. |
1091 IPC_MESSAGE_CONTROL1(ViewMsg_FileSystem_DidSucceed, | 1086 IPC_MESSAGE_CONTROL1(ViewMsg_FileSystem_DidSucceed, |
1092 int /* request_id */) | 1087 int /* request_id */) |
1093 IPC_MESSAGE_CONTROL2(ViewMsg_FileSystem_DidReadMetadata, | 1088 IPC_MESSAGE_CONTROL2(ViewMsg_FileSystem_DidReadMetadata, |
1094 int /* request_id */, | 1089 int /* request_id */, |
1095 base::PlatformFileInfo) | 1090 base::PlatformFileInfo) |
1096 IPC_MESSAGE_CONTROL3(ViewMsg_FileSystem_DidReadDirectory, | 1091 IPC_MESSAGE_CONTROL3(ViewMsg_FileSystem_DidReadDirectory, |
1097 int /* request_id */, | 1092 int /* request_id */, |
1098 std::vector<base::file_util_proxy::Entry> /* entries */, | 1093 std::vector<base::FileUtilProxy::Entry> /* entries */, |
1099 bool /* has_more */) | 1094 bool /* has_more */) |
1100 | 1095 |
1101 IPC_MESSAGE_CONTROL3(ViewMsg_FileSystem_DidWrite, | 1096 IPC_MESSAGE_CONTROL3(ViewMsg_FileSystem_DidWrite, |
1102 int /* request_id */, | 1097 int /* request_id */, |
1103 int64 /* byte count */, | 1098 int64 /* byte count */, |
1104 bool /* complete */) | 1099 bool /* complete */) |
1105 IPC_MESSAGE_CONTROL2(ViewMsg_FileSystem_DidFail, | 1100 IPC_MESSAGE_CONTROL2(ViewMsg_FileSystem_DidFail, |
1106 int /* request_id */, | 1101 int /* request_id */, |
1107 base::PlatformFileError /* error_code */) | 1102 base::PlatformFileError /* error_code */) |
1108 | 1103 |
(...skipping 1952 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3061 base::PlatformFileInfo, /* info */ | 3056 base::PlatformFileInfo, /* info */ |
3062 base::PlatformFileError /* error_code */) | 3057 base::PlatformFileError /* error_code */) |
3063 | 3058 |
3064 // Get the directory's contents. | 3059 // Get the directory's contents. |
3065 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_PepperGetDirContents, | 3060 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_PepperGetDirContents, |
3066 FilePath /* path */, | 3061 FilePath /* path */, |
3067 PepperDirContents, /* contents */ | 3062 PepperDirContents, /* contents */ |
3068 base::PlatformFileError /* error_code */) | 3063 base::PlatformFileError /* error_code */) |
3069 | 3064 |
3070 IPC_END_MESSAGES(ViewHost) | 3065 IPC_END_MESSAGES(ViewHost) |
OLD | NEW |