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

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

Issue 3245010: Revert 57915 - Add final part of IPC plumbing for FileSystem API.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 3 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 | « chrome/common/render_messages.h ('k') | chrome/common/render_messages_params.h » ('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) 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>
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 48
49 namespace IPC { 49 namespace IPC {
50 struct ChannelHandle; 50 struct ChannelHandle;
51 class Message; 51 class Message;
52 } 52 }
53 53
54 namespace webkit_blob { 54 namespace webkit_blob {
55 class BlobData; 55 class BlobData;
56 } 56 }
57 57
58 namespace file_util {
59 struct FileInfo;
60 }
61
62 //----------------------------------------------------------------------------- 58 //-----------------------------------------------------------------------------
63 // RenderView messages 59 // RenderView messages
64 // These are messages sent from the browser to the renderer process. 60 // These are messages sent from the browser to the renderer process.
65 61
66 IPC_BEGIN_MESSAGES(View) 62 IPC_BEGIN_MESSAGES(View)
67 // Used typically when recovering from a crash. The new rendering process 63 // Used typically when recovering from a crash. The new rendering process
68 // sets its global "next page id" counter to the given value. 64 // sets its global "next page id" counter to the given value.
69 IPC_MESSAGE_CONTROL1(ViewMsg_SetNextPageID, 65 IPC_MESSAGE_CONTROL1(ViewMsg_SetNextPageID,
70 int32 /* next_page_id */) 66 int32 /* next_page_id */)
71 67
(...skipping 939 matching lines...) Expand 10 before | Expand all | Expand 10 after
1011 ViewMsg_DeviceOrientationUpdated_Params) 1007 ViewMsg_DeviceOrientationUpdated_Params)
1012 1008
1013 // WebFrameClient::openFileSystem response messages. 1009 // WebFrameClient::openFileSystem response messages.
1014 IPC_MESSAGE_ROUTED4(ViewMsg_OpenFileSystemRequest_Complete, 1010 IPC_MESSAGE_ROUTED4(ViewMsg_OpenFileSystemRequest_Complete,
1015 int /* request_id */, 1011 int /* request_id */,
1016 bool /* accepted */, 1012 bool /* accepted */,
1017 string16 /* name */, 1013 string16 /* name */,
1018 string16 /* root_path */) 1014 string16 /* root_path */)
1019 1015
1020 // WebFileSystem response messages. 1016 // WebFileSystem response messages.
1021 IPC_MESSAGE_CONTROL1(ViewMsg_FileSystem_DidSucceed, 1017 IPC_MESSAGE_CONTROL1(ViewMsg_FileSystem_Succeeded,
1022 int /* request_id */) 1018 int /* request_id */)
1023 IPC_MESSAGE_CONTROL2(ViewMsg_FileSystem_DidReadMetadata, 1019 IPC_MESSAGE_CONTROL2(ViewMsg_FileSystem_Failed,
1024 int /* request_id */, 1020 int /* request_id */,
1025 file_util::FileInfo) 1021 int /* error_code */)
1026 IPC_MESSAGE_CONTROL1(ViewMsg_FileSystem_DidReadDirectory,
1027 ViewMsg_FileSystem_DidReadDirectory_Params)
1028 IPC_MESSAGE_CONTROL2(ViewMsg_FileSystem_DidFail,
1029 int /* request_id */,
1030 WebKit::WebFileError /* error_code */)
1031 1022
1032 IPC_END_MESSAGES(View) 1023 IPC_END_MESSAGES(View)
1033 1024
1034 1025
1035 //----------------------------------------------------------------------------- 1026 //-----------------------------------------------------------------------------
1036 // TabContents messages 1027 // TabContents messages
1037 // These are messages sent from the renderer to the browser process. 1028 // These are messages sent from the renderer to the browser process.
1038 1029
1039 IPC_BEGIN_MESSAGES(ViewHost) 1030 IPC_BEGIN_MESSAGES(ViewHost)
1040 // Sent by the renderer when it is creating a new window. The browser creates 1031 // Sent by the renderer when it is creating a new window. The browser creates
(...skipping 1676 matching lines...) Expand 10 before | Expand all | Expand 10 after
2717 // WebFrameClient::openFileSystem() message. 2708 // WebFrameClient::openFileSystem() message.
2718 IPC_MESSAGE_CONTROL1(ViewHostMsg_OpenFileSystemRequest, 2709 IPC_MESSAGE_CONTROL1(ViewHostMsg_OpenFileSystemRequest,
2719 ViewHostMsg_OpenFileSystemRequest_Params) 2710 ViewHostMsg_OpenFileSystemRequest_Params)
2720 2711
2721 // WebFileSystem::move() message. 2712 // WebFileSystem::move() message.
2722 IPC_MESSAGE_CONTROL3(ViewHostMsg_FileSystem_Move, 2713 IPC_MESSAGE_CONTROL3(ViewHostMsg_FileSystem_Move,
2723 int /* request_id */, 2714 int /* request_id */,
2724 string16 /* src path */, 2715 string16 /* src path */,
2725 string16 /* dest path */) 2716 string16 /* dest path */)
2726 2717
2727 // WebFileSystem::copy() message.
2728 IPC_MESSAGE_CONTROL3(ViewHostMsg_FileSystem_Copy,
2729 int /* request_id */,
2730 string16 /* src path */,
2731 string16 /* dest path */)
2732
2733 // WebFileSystem::remove() message.
2734 IPC_MESSAGE_CONTROL2(ViewHostMsg_FileSystem_Remove,
2735 int /* request_id */,
2736 string16 /* path */)
2737
2738 // WebFileSystem::readMetadata() message.
2739 IPC_MESSAGE_CONTROL2(ViewHostMsg_FileSystem_ReadMetadata,
2740 int /* request_id */,
2741 string16 /* path */)
2742
2743 // WebFileSystem::create() message.
2744 IPC_MESSAGE_CONTROL4(ViewHostMsg_FileSystem_Create,
2745 int /* request_id */,
2746 string16 /* path */,
2747 bool /* exclusive */,
2748 bool /* is_directory */)
2749
2750 // WebFileSystem::exists() messages.
2751 IPC_MESSAGE_CONTROL3(ViewHostMsg_FileSystem_Exists,
2752 int /* request_id */,
2753 string16 /* path */,
2754 bool /* is_directory */)
2755
2756 // WebFileSystem::readDirectory() message.
2757 IPC_MESSAGE_CONTROL2(ViewHostMsg_FileSystem_ReadDirectory,
2758 int /* request_id */,
2759 string16 /* path */)
2760
2761 //--------------------------------------------------------------------------- 2718 //---------------------------------------------------------------------------
2762 // Blob messages: 2719 // Blob messages:
2763 2720
2764 // Registers a blob URL referring to the specified blob data. 2721 // Registers a blob URL referring to the specified blob data.
2765 IPC_MESSAGE_CONTROL2(ViewHostMsg_RegisterBlobUrl, 2722 IPC_MESSAGE_CONTROL2(ViewHostMsg_RegisterBlobUrl,
2766 GURL /* url */, 2723 GURL /* url */,
2767 scoped_refptr<webkit_blob::BlobData> /* blob_data */) 2724 scoped_refptr<webkit_blob::BlobData> /* blob_data */)
2768 2725
2769 // Registers a blob URL referring to the blob data identified by the specified 2726 // Registers a blob URL referring to the blob data identified by the specified
2770 // source URL. 2727 // source URL.
2771 IPC_MESSAGE_CONTROL2(ViewHostMsg_RegisterBlobUrlFrom, 2728 IPC_MESSAGE_CONTROL2(ViewHostMsg_RegisterBlobUrlFrom,
2772 GURL /* url */, 2729 GURL /* url */,
2773 GURL /* src_url */) 2730 GURL /* src_url */)
2774 2731
2775 // Unregister a blob URL. 2732 // Unregister a blob URL.
2776 IPC_MESSAGE_CONTROL1(ViewHostMsg_UnregisterBlobUrl, GURL /* url */) 2733 IPC_MESSAGE_CONTROL1(ViewHostMsg_UnregisterBlobUrl, GURL /* url */)
2777 2734
2778 IPC_END_MESSAGES(ViewHost) 2735 IPC_END_MESSAGES(ViewHost)
OLDNEW
« no previous file with comments | « chrome/common/render_messages.h ('k') | chrome/common/render_messages_params.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698