| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 716 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 727 // Returns the attributes of a file | 727 // Returns the attributes of a file |
| 728 IPC_MESSAGE_CONTROL2(ViewMsg_DatabaseGetFileAttributesResponse, | 728 IPC_MESSAGE_CONTROL2(ViewMsg_DatabaseGetFileAttributesResponse, |
| 729 int32 /* the ID of the message we're replying to */, | 729 int32 /* the ID of the message we're replying to */, |
| 730 int32 /* the attributes for the given DB file */) | 730 int32 /* the attributes for the given DB file */) |
| 731 | 731 |
| 732 // Returns the size of a file | 732 // Returns the size of a file |
| 733 IPC_MESSAGE_CONTROL2(ViewMsg_DatabaseGetFileSizeResponse, | 733 IPC_MESSAGE_CONTROL2(ViewMsg_DatabaseGetFileSizeResponse, |
| 734 int32 /* the ID of the message we're replying to */, | 734 int32 /* the ID of the message we're replying to */, |
| 735 int64 /* the size of the given DB file */) | 735 int64 /* the size of the given DB file */) |
| 736 | 736 |
| 737 // Storage events are broadcast to renderer processes. |
| 738 IPC_MESSAGE_CONTROL5(ViewMsg_DOMStorageEvent, |
| 739 string16 /* key */, |
| 740 NullableString16 /* old_value */, |
| 741 NullableString16 /* new_value */, |
| 742 string16 /* origin */, |
| 743 DOMStorageType /* dom_storage_type */) |
| 744 |
| 737 #if defined(IPC_MESSAGE_LOG_ENABLED) | 745 #if defined(IPC_MESSAGE_LOG_ENABLED) |
| 738 // Tell the renderer process to begin or end IPC message logging. | 746 // Tell the renderer process to begin or end IPC message logging. |
| 739 IPC_MESSAGE_CONTROL1(ViewMsg_SetIPCLoggingEnabled, | 747 IPC_MESSAGE_CONTROL1(ViewMsg_SetIPCLoggingEnabled, |
| 740 bool /* on or off */) | 748 bool /* on or off */) |
| 741 #endif | 749 #endif |
| 742 | 750 |
| 743 //--------------------------------------------------------------------------- | 751 //--------------------------------------------------------------------------- |
| 744 // Utility process messages: | 752 // Utility process messages: |
| 745 // These are messages from the browser to the utility process. They're here | 753 // These are messages from the browser to the utility process. They're here |
| 746 // because we ran out of spare message types. | 754 // because we ran out of spare message types. |
| (...skipping 1033 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1780 IPC_MESSAGE_CONTROL2(ViewHostMsg_DatabaseGetFileAttributes, | 1788 IPC_MESSAGE_CONTROL2(ViewHostMsg_DatabaseGetFileAttributes, |
| 1781 FilePath /* the name of the file */, | 1789 FilePath /* the name of the file */, |
| 1782 int32 /* a unique message ID */) | 1790 int32 /* a unique message ID */) |
| 1783 | 1791 |
| 1784 // Asks the browser process to return the size of a DB file | 1792 // Asks the browser process to return the size of a DB file |
| 1785 IPC_MESSAGE_CONTROL2(ViewHostMsg_DatabaseGetFileSize, | 1793 IPC_MESSAGE_CONTROL2(ViewHostMsg_DatabaseGetFileSize, |
| 1786 FilePath /* the name of the file */, | 1794 FilePath /* the name of the file */, |
| 1787 int32 /* a unique message ID */) | 1795 int32 /* a unique message ID */) |
| 1788 | 1796 |
| 1789 IPC_END_MESSAGES(ViewHost) | 1797 IPC_END_MESSAGES(ViewHost) |
| OLD | NEW |