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

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

Issue 462843003: Cleanup namespace usage in public/platform/{Web[P-W]*,linux/*}.h (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « public/platform/WebServiceWorkerProxy.h ('k') | public/platform/WebServiceWorkerResponse.h » ('j') | 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"
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 WebString method() const; 46 WebString method() const;
47 47
48 void setHeader(const WebString& key, const WebString& value); 48 void setHeader(const WebString& key, const WebString& value);
49 49
50 void setReferrer(const WebString&, WebReferrerPolicy); 50 void setReferrer(const WebString&, WebReferrerPolicy);
51 51
52 void setIsReload(bool); 52 void setIsReload(bool);
53 bool isReload() const; 53 bool isReload() const;
54 54
55 #if INSIDE_BLINK 55 #if INSIDE_BLINK
56 const blink::HTTPHeaderMap& headers() const; 56 const HTTPHeaderMap& headers() const;
57 const blink::Referrer& referrer() const; 57 const Referrer& referrer() const;
58 #endif 58 #endif
59 59
60 private: 60 private:
61 WebPrivatePtr<WebServiceWorkerRequestPrivate> m_private; 61 WebPrivatePtr<WebServiceWorkerRequestPrivate> m_private;
62 }; 62 };
63 63
64 } // namespace blink 64 } // namespace blink
65 65
66 #endif // WebServiceWorkerRequest_h 66 #endif // WebServiceWorkerRequest_h
OLDNEW
« no previous file with comments | « public/platform/WebServiceWorkerProxy.h ('k') | public/platform/WebServiceWorkerResponse.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698