| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 // Message definition file, included multiple times, hence no include guard. | 5 // Message definition file, included multiple times, hence no include guard. |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 IPC_STRUCT_TRAITS_MEMBER(request_context_type) | 50 IPC_STRUCT_TRAITS_MEMBER(request_context_type) |
| 51 IPC_STRUCT_TRAITS_MEMBER(frame_type) | 51 IPC_STRUCT_TRAITS_MEMBER(frame_type) |
| 52 IPC_STRUCT_TRAITS_MEMBER(url) | 52 IPC_STRUCT_TRAITS_MEMBER(url) |
| 53 IPC_STRUCT_TRAITS_MEMBER(method) | 53 IPC_STRUCT_TRAITS_MEMBER(method) |
| 54 IPC_STRUCT_TRAITS_MEMBER(headers) | 54 IPC_STRUCT_TRAITS_MEMBER(headers) |
| 55 IPC_STRUCT_TRAITS_MEMBER(blob_uuid) | 55 IPC_STRUCT_TRAITS_MEMBER(blob_uuid) |
| 56 IPC_STRUCT_TRAITS_MEMBER(blob_size) | 56 IPC_STRUCT_TRAITS_MEMBER(blob_size) |
| 57 IPC_STRUCT_TRAITS_MEMBER(referrer) | 57 IPC_STRUCT_TRAITS_MEMBER(referrer) |
| 58 IPC_STRUCT_TRAITS_MEMBER(credentials_mode) | 58 IPC_STRUCT_TRAITS_MEMBER(credentials_mode) |
| 59 IPC_STRUCT_TRAITS_MEMBER(is_reload) | 59 IPC_STRUCT_TRAITS_MEMBER(is_reload) |
| 60 IPC_STRUCT_TRAITS_MEMBER(client) |
| 60 IPC_STRUCT_TRAITS_END() | 61 IPC_STRUCT_TRAITS_END() |
| 61 | 62 |
| 62 IPC_ENUM_TRAITS_MAX_VALUE(content::ServiceWorkerFetchEventResult, | 63 IPC_ENUM_TRAITS_MAX_VALUE(content::ServiceWorkerFetchEventResult, |
| 63 content::SERVICE_WORKER_FETCH_EVENT_LAST) | 64 content::SERVICE_WORKER_FETCH_EVENT_LAST) |
| 64 | 65 |
| 65 IPC_STRUCT_TRAITS_BEGIN(content::ServiceWorkerResponse) | 66 IPC_STRUCT_TRAITS_BEGIN(content::ServiceWorkerResponse) |
| 66 IPC_STRUCT_TRAITS_MEMBER(url) | 67 IPC_STRUCT_TRAITS_MEMBER(url) |
| 67 IPC_STRUCT_TRAITS_MEMBER(status_code) | 68 IPC_STRUCT_TRAITS_MEMBER(status_code) |
| 68 IPC_STRUCT_TRAITS_MEMBER(status_text) | 69 IPC_STRUCT_TRAITS_MEMBER(status_text) |
| 69 IPC_STRUCT_TRAITS_MEMBER(response_type) | 70 IPC_STRUCT_TRAITS_MEMBER(response_type) |
| (...skipping 362 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 432 | 433 |
| 433 // Sent via EmbeddedWorker as an error response of OpenWindow. | 434 // Sent via EmbeddedWorker as an error response of OpenWindow. |
| 434 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_OpenWindowError, | 435 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_OpenWindowError, |
| 435 int /* request_id */, | 436 int /* request_id */, |
| 436 std::string /* message */ ) | 437 std::string /* message */ ) |
| 437 | 438 |
| 438 // Sent via EmbeddedWorker as a response of FocusClient. | 439 // Sent via EmbeddedWorker as a response of FocusClient. |
| 439 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_FocusClientResponse, | 440 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_FocusClientResponse, |
| 440 int /* request_id */, | 441 int /* request_id */, |
| 441 content::ServiceWorkerClientInfo /* client */) | 442 content::ServiceWorkerClientInfo /* client */) |
| OLD | NEW |