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

Side by Side Diff: content/public/common/resource_response_info.h

Issue 1254023006: Move ServiceWorker public headers to public/{web,platform}/modules/serviceworker (2/3) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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 #ifndef CONTENT_PUBLIC_COMMON_RESOURCE_RESPONSE_INFO_H_ 5 #ifndef CONTENT_PUBLIC_COMMON_RESOURCE_RESPONSE_INFO_H_
6 #define CONTENT_PUBLIC_COMMON_RESOURCE_RESPONSE_INFO_H_ 6 #define CONTENT_PUBLIC_COMMON_RESOURCE_RESPONSE_INFO_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/files/file_path.h" 11 #include "base/files/file_path.h"
12 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
13 #include "base/time/time.h" 13 #include "base/time/time.h"
14 #include "content/common/content_export.h" 14 #include "content/common/content_export.h"
15 #include "content/public/common/resource_devtools_info.h" 15 #include "content/public/common/resource_devtools_info.h"
16 #include "net/base/host_port_pair.h" 16 #include "net/base/host_port_pair.h"
17 #include "net/base/load_timing_info.h" 17 #include "net/base/load_timing_info.h"
18 #include "net/http/http_response_headers.h" 18 #include "net/http/http_response_headers.h"
19 #include "net/http/http_response_info.h" 19 #include "net/http/http_response_info.h"
20 #include "third_party/WebKit/public/platform/WebServiceWorkerResponseType.h" 20 #include "third_party/WebKit/public/platform/modules/serviceworker/WebServiceWor kerResponseType.h"
21 #include "url/gurl.h" 21 #include "url/gurl.h"
22 22
23 namespace content { 23 namespace content {
24 24
25 // Note: when modifying this structure, also update ResourceResponse::DeepCopy 25 // Note: when modifying this structure, also update ResourceResponse::DeepCopy
26 // in resource_response.cc. 26 // in resource_response.cc.
27 struct ResourceResponseInfo { 27 struct ResourceResponseInfo {
28 CONTENT_EXPORT ResourceResponseInfo(); 28 CONTENT_EXPORT ResourceResponseInfo();
29 CONTENT_EXPORT ~ResourceResponseInfo(); 29 CONTENT_EXPORT ~ResourceResponseInfo();
30 30
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 127
128 // The time immediately before dispatching fetch event in ServiceWorker. 128 // The time immediately before dispatching fetch event in ServiceWorker.
129 // If the response is not provided by the ServiceWorker, kept empty. 129 // If the response is not provided by the ServiceWorker, kept empty.
130 // TODO(ksakamoto): Move this to net::LoadTimingInfo. 130 // TODO(ksakamoto): Move this to net::LoadTimingInfo.
131 base::TimeTicks service_worker_ready_time; 131 base::TimeTicks service_worker_ready_time;
132 }; 132 };
133 133
134 } // namespace content 134 } // namespace content
135 135
136 #endif // CONTENT_PUBLIC_COMMON_RESOURCE_RESPONSE_INFO_H_ 136 #endif // CONTENT_PUBLIC_COMMON_RESOURCE_RESPONSE_INFO_H_
OLDNEW
« no previous file with comments | « content/common/service_worker/service_worker_types.h ('k') | content/renderer/cache_storage/cache_storage_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698