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

Side by Side Diff: public/platform/WebServiceWorkerRequest.h

Issue 1149163004: Revert "Add Client Attribute to FetchEvent- Blink Side." (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix merge Created 5 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « Source/web/ServiceWorkerGlobalScopeProxy.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 WebServiceWorkerRequest_h 5 #ifndef WebServiceWorkerRequest_h
6 #define WebServiceWorkerRequest_h 6 #define WebServiceWorkerRequest_h
7 7
8 #include "WebCommon.h" 8 #include "WebCommon.h"
9 #include "public/platform/WebPrivatePtr.h" 9 #include "public/platform/WebPrivatePtr.h"
10 #include "public/platform/WebReferrerPolicy.h" 10 #include "public/platform/WebReferrerPolicy.h"
11 #include "public/platform/WebServiceWorkerClientsInfo.h"
12 #include "public/platform/WebString.h" 11 #include "public/platform/WebString.h"
13 #include "public/platform/WebURL.h" 12 #include "public/platform/WebURL.h"
14 #include "public/platform/WebURLRequest.h" 13 #include "public/platform/WebURLRequest.h"
15 14
16 #if INSIDE_BLINK 15 #if INSIDE_BLINK
17 #include "platform/network/HTTPHeaderMap.h" 16 #include "platform/network/HTTPHeaderMap.h"
18 #include "platform/weborigin/Referrer.h" 17 #include "platform/weborigin/Referrer.h"
19 #include "wtf/Forward.h" 18 #include "wtf/Forward.h"
20 #include "wtf/text/StringHash.h" 19 #include "wtf/text/StringHash.h"
21 #include <utility> 20 #include <utility>
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 69
71 void setRequestContext(WebURLRequest::RequestContext); 70 void setRequestContext(WebURLRequest::RequestContext);
72 WebURLRequest::RequestContext requestContext() const; 71 WebURLRequest::RequestContext requestContext() const;
73 72
74 void setFrameType(WebURLRequest::FrameType); 73 void setFrameType(WebURLRequest::FrameType);
75 WebURLRequest::FrameType frameType() const; 74 WebURLRequest::FrameType frameType() const;
76 75
77 void setIsReload(bool); 76 void setIsReload(bool);
78 bool isReload() const; 77 bool isReload() const;
79 78
80 void setClient(const WebServiceWorkerClientInfo&);
81 WebServiceWorkerClientInfo& client() const;
82
83 #if INSIDE_BLINK 79 #if INSIDE_BLINK
84 const HTTPHeaderMap& headers() const; 80 const HTTPHeaderMap& headers() const;
85 PassRefPtr<BlobDataHandle> blobDataHandle() const; 81 PassRefPtr<BlobDataHandle> blobDataHandle() const;
86 const Referrer& referrer() const; 82 const Referrer& referrer() const;
87 #endif 83 #endif
88 84
89 private: 85 private:
90 WebPrivatePtr<WebServiceWorkerRequestPrivate> m_private; 86 WebPrivatePtr<WebServiceWorkerRequestPrivate> m_private;
91 }; 87 };
92 88
93 } // namespace blink 89 } // namespace blink
94 90
95 #endif // WebServiceWorkerRequest_h 91 #endif // WebServiceWorkerRequest_h
OLDNEW
« no previous file with comments | « Source/web/ServiceWorkerGlobalScopeProxy.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698