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

Side by Side Diff: content/common/service_worker/service_worker_messages.h

Issue 1271733002: [2/3 chromium] Support redirect option of Request and "opaqueredirect" response type. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add _MODE to avoid compile error at Windows. Created 5 years, 4 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
OLDNEW
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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 IPC_STRUCT_TRAITS_MEMBER(mode) 52 IPC_STRUCT_TRAITS_MEMBER(mode)
53 IPC_STRUCT_TRAITS_MEMBER(request_context_type) 53 IPC_STRUCT_TRAITS_MEMBER(request_context_type)
54 IPC_STRUCT_TRAITS_MEMBER(frame_type) 54 IPC_STRUCT_TRAITS_MEMBER(frame_type)
55 IPC_STRUCT_TRAITS_MEMBER(url) 55 IPC_STRUCT_TRAITS_MEMBER(url)
56 IPC_STRUCT_TRAITS_MEMBER(method) 56 IPC_STRUCT_TRAITS_MEMBER(method)
57 IPC_STRUCT_TRAITS_MEMBER(headers) 57 IPC_STRUCT_TRAITS_MEMBER(headers)
58 IPC_STRUCT_TRAITS_MEMBER(blob_uuid) 58 IPC_STRUCT_TRAITS_MEMBER(blob_uuid)
59 IPC_STRUCT_TRAITS_MEMBER(blob_size) 59 IPC_STRUCT_TRAITS_MEMBER(blob_size)
60 IPC_STRUCT_TRAITS_MEMBER(referrer) 60 IPC_STRUCT_TRAITS_MEMBER(referrer)
61 IPC_STRUCT_TRAITS_MEMBER(credentials_mode) 61 IPC_STRUCT_TRAITS_MEMBER(credentials_mode)
62 IPC_STRUCT_TRAITS_MEMBER(redirect_mode)
62 IPC_STRUCT_TRAITS_MEMBER(is_reload) 63 IPC_STRUCT_TRAITS_MEMBER(is_reload)
63 IPC_STRUCT_TRAITS_END() 64 IPC_STRUCT_TRAITS_END()
64 65
65 IPC_ENUM_TRAITS_MAX_VALUE(content::ServiceWorkerFetchEventResult, 66 IPC_ENUM_TRAITS_MAX_VALUE(content::ServiceWorkerFetchEventResult,
66 content::SERVICE_WORKER_FETCH_EVENT_LAST) 67 content::SERVICE_WORKER_FETCH_EVENT_LAST)
67 68
68 IPC_STRUCT_TRAITS_BEGIN(content::ServiceWorkerResponse) 69 IPC_STRUCT_TRAITS_BEGIN(content::ServiceWorkerResponse)
69 IPC_STRUCT_TRAITS_MEMBER(url) 70 IPC_STRUCT_TRAITS_MEMBER(url)
70 IPC_STRUCT_TRAITS_MEMBER(status_code) 71 IPC_STRUCT_TRAITS_MEMBER(status_code)
71 IPC_STRUCT_TRAITS_MEMBER(status_text) 72 IPC_STRUCT_TRAITS_MEMBER(status_text)
(...skipping 421 matching lines...) Expand 10 before | Expand all | Expand 10 after
493 494
494 // Sent via EmbeddedWorker as a response of NavigateClient. 495 // Sent via EmbeddedWorker as a response of NavigateClient.
495 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientResponse, 496 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientResponse,
496 int /* request_id */, 497 int /* request_id */,
497 content::ServiceWorkerClientInfo /* client */) 498 content::ServiceWorkerClientInfo /* client */)
498 499
499 // Sent via EmbeddedWorker as an error response of NavigateClient. 500 // Sent via EmbeddedWorker as an error response of NavigateClient.
500 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientError, 501 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientError,
501 int /* request_id */, 502 int /* request_id */,
502 GURL /* url */) 503 GURL /* url */)
OLDNEW
« no previous file with comments | « content/common/resource_messages.h ('k') | content/common/service_worker/service_worker_types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698