| OLD | NEW |
| 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 // Multiply-included message file, hence no include guard. | 5 // Multiply-included message file, hence no include guard. |
| 6 | 6 |
| 7 #include "ipc/ipc_message_macros.h" | 7 #include "ipc/ipc_message_macros.h" |
| 8 | 8 |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| 11 #include "content/common/appcache_interfaces.h" | 11 #include "content/common/appcache_interfaces.h" |
| 12 #include "url/ipc/url_param_traits.h" |
| 12 | 13 |
| 13 #define IPC_MESSAGE_START AppCacheMsgStart | 14 #define IPC_MESSAGE_START AppCacheMsgStart |
| 14 | 15 |
| 15 IPC_ENUM_TRAITS_MAX_VALUE(content::AppCacheEventID, | 16 IPC_ENUM_TRAITS_MAX_VALUE(content::AppCacheEventID, |
| 16 content::APPCACHE_EVENT_ID_LAST) | 17 content::APPCACHE_EVENT_ID_LAST) |
| 17 IPC_ENUM_TRAITS_MAX_VALUE(content::AppCacheStatus, | 18 IPC_ENUM_TRAITS_MAX_VALUE(content::AppCacheStatus, |
| 18 content::APPCACHE_STATUS_LAST) | 19 content::APPCACHE_STATUS_LAST) |
| 19 IPC_ENUM_TRAITS_MAX_VALUE(content::AppCacheErrorReason, | 20 IPC_ENUM_TRAITS_MAX_VALUE(content::AppCacheErrorReason, |
| 20 content::APPCACHE_ERROR_REASON_LAST) | 21 content::APPCACHE_ERROR_REASON_LAST) |
| 21 | 22 |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 152 // Notifies the renderer of an AppCache logging message. | 153 // Notifies the renderer of an AppCache logging message. |
| 153 IPC_MESSAGE_CONTROL3(AppCacheMsg_LogMessage, | 154 IPC_MESSAGE_CONTROL3(AppCacheMsg_LogMessage, |
| 154 int /* host_id */, | 155 int /* host_id */, |
| 155 int /* log_level */, | 156 int /* log_level */, |
| 156 std::string /* message */) | 157 std::string /* message */) |
| 157 | 158 |
| 158 // Notifies the renderer of the fact that AppCache access was blocked. | 159 // Notifies the renderer of the fact that AppCache access was blocked. |
| 159 IPC_MESSAGE_CONTROL2(AppCacheMsg_ContentBlocked, | 160 IPC_MESSAGE_CONTROL2(AppCacheMsg_ContentBlocked, |
| 160 int /* host_id */, | 161 int /* host_id */, |
| 161 GURL /* manifest_url */) | 162 GURL /* manifest_url */) |
| OLD | NEW |