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

Side by Side Diff: Source/modules/fetch/FetchRequestData.h

Issue 1106263003: Removing blink::prefix (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 7 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 | « Source/modules/encryptedmedia/MediaKeys.cpp ('k') | Source/modules/fetch/FetchResponseData.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 FetchRequestData_h 5 #ifndef FetchRequestData_h
6 #define FetchRequestData_h 6 #define FetchRequestData_h
7 7
8 #include "platform/heap/Handle.h" 8 #include "platform/heap/Handle.h"
9 #include "platform/weborigin/KURL.h" 9 #include "platform/weborigin/KURL.h"
10 #include "platform/weborigin/Referrer.h" 10 #include "platform/weborigin/Referrer.h"
11 #include "public/platform/WebServiceWorkerRequest.h"
11 #include "public/platform/WebURLRequest.h" 12 #include "public/platform/WebURLRequest.h"
12 #include "wtf/PassOwnPtr.h" 13 #include "wtf/PassOwnPtr.h"
13 #include "wtf/PassRefPtr.h" 14 #include "wtf/PassRefPtr.h"
14 #include "wtf/text/AtomicString.h" 15 #include "wtf/text/AtomicString.h"
15 #include "wtf/text/WTFString.h" 16 #include "wtf/text/WTFString.h"
16 17
17 namespace blink { 18 namespace blink {
18 19
19 class BlobDataHandle; 20 class BlobDataHandle;
20 class FetchHeaderList; 21 class FetchHeaderList;
(...skipping 27 matching lines...) Expand all
48 m_type = URLReferrer; 49 m_type = URLReferrer;
49 } 50 }
50 blink::Referrer referrer() const { return m_referrer; } 51 blink::Referrer referrer() const { return m_referrer; }
51 private: 52 private:
52 enum Type { NoReferrer, ClientReferrer, URLReferrer }; 53 enum Type { NoReferrer, ClientReferrer, URLReferrer };
53 Type m_type; 54 Type m_type;
54 blink::Referrer m_referrer; 55 blink::Referrer m_referrer;
55 }; 56 };
56 57
57 static FetchRequestData* create(); 58 static FetchRequestData* create();
58 static FetchRequestData* create(const blink::WebServiceWorkerRequest&); 59 static FetchRequestData* create(const WebServiceWorkerRequest&);
59 FetchRequestData* clone() const; 60 FetchRequestData* clone() const;
60 FetchRequestData* pass() const; 61 FetchRequestData* pass() const;
61 ~FetchRequestData(); 62 ~FetchRequestData();
62 63
63 void setMethod(AtomicString method) { m_method = method; } 64 void setMethod(AtomicString method) { m_method = method; }
64 const AtomicString method() const { return m_method; } 65 const AtomicString method() const { return m_method; }
65 void setURL(const KURL& url) { m_url = url; } 66 void setURL(const KURL& url) { m_url = url; }
66 const KURL& url() const { return m_url; } 67 const KURL& url() const { return m_url; }
67 bool unsafeRequestFlag() const { return m_unsafeRequestFlag; } 68 bool unsafeRequestFlag() const { return m_unsafeRequestFlag; }
68 void setUnsafeRequestFlag(bool flag) { m_unsafeRequestFlag = flag; } 69 void setUnsafeRequestFlag(bool flag) { m_unsafeRequestFlag = flag; }
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 // FIXME: Support m_useURLCredentialsFlag; 111 // FIXME: Support m_useURLCredentialsFlag;
111 // FIXME: Support m_manualRedirectFlag; 112 // FIXME: Support m_manualRedirectFlag;
112 // FIXME: Support m_redirectCount; 113 // FIXME: Support m_redirectCount;
113 Tainting m_responseTainting; 114 Tainting m_responseTainting;
114 String m_mimeType; 115 String m_mimeType;
115 }; 116 };
116 117
117 } // namespace blink 118 } // namespace blink
118 119
119 #endif // FetchRequestData_h 120 #endif // FetchRequestData_h
OLDNEW
« no previous file with comments | « Source/modules/encryptedmedia/MediaKeys.cpp ('k') | Source/modules/fetch/FetchResponseData.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698