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

Side by Side Diff: third_party/WebKit/public/platform/modules/serviceworker/WebServiceWorkerResponse.h

Issue 1750333002: Reland of Pipe response_time from FetchManager to CacheStorage and ServiceWorkerURLRequestJob. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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
« no previous file with comments | « third_party/WebKit/Source/platform/exported/WebServiceWorkerResponse.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 WebServiceWorkerResponse_h 5 #ifndef WebServiceWorkerResponse_h
6 #define WebServiceWorkerResponse_h 6 #define WebServiceWorkerResponse_h
7 7
8 #include "public/platform/WebCommon.h" 8 #include "public/platform/WebCommon.h"
9 #include "public/platform/WebPrivatePtr.h" 9 #include "public/platform/WebPrivatePtr.h"
10 #include "public/platform/WebString.h" 10 #include "public/platform/WebString.h"
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 WebString blobUUID() const; 69 WebString blobUUID() const;
70 uint64_t blobSize() const; 70 uint64_t blobSize() const;
71 71
72 void setStreamURL(const WebURL&); 72 void setStreamURL(const WebURL&);
73 WebURL streamURL() const; 73 WebURL streamURL() const;
74 74
75 // Provides a more detailed error when status() is zero. 75 // Provides a more detailed error when status() is zero.
76 void setError(WebServiceWorkerResponseError); 76 void setError(WebServiceWorkerResponseError);
77 WebServiceWorkerResponseError error() const; 77 WebServiceWorkerResponseError error() const;
78 78
79 void setResponseTime(int64_t);
80 int64_t responseTime() const;
81
79 #if INSIDE_BLINK 82 #if INSIDE_BLINK
80 const HTTPHeaderMap& headers() const; 83 const HTTPHeaderMap& headers() const;
81 84
82 void setBlobDataHandle(PassRefPtr<BlobDataHandle>); 85 void setBlobDataHandle(PassRefPtr<BlobDataHandle>);
83 PassRefPtr<BlobDataHandle> blobDataHandle() const; 86 PassRefPtr<BlobDataHandle> blobDataHandle() const;
84 #endif 87 #endif
85 88
86 private: 89 private:
87 WebPrivatePtr<WebServiceWorkerResponsePrivate> m_private; 90 WebPrivatePtr<WebServiceWorkerResponsePrivate> m_private;
88 }; 91 };
89 92
90 } // namespace blink 93 } // namespace blink
91 94
92 #endif // WebServiceWorkerResponse_h 95 #endif // WebServiceWorkerResponse_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/exported/WebServiceWorkerResponse.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698