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

Side by Side Diff: Source/modules/serviceworkers/FetchResponseData.h

Issue 403013002: Rename WebCore to blink in Modules (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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
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 FetchResponseData_h 5 #ifndef FetchResponseData_h
6 #define FetchResponseData_h 6 #define FetchResponseData_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 "wtf/PassRefPtr.h" 10 #include "wtf/PassRefPtr.h"
11 #include "wtf/RefCounted.h" 11 #include "wtf/RefCounted.h"
12 #include "wtf/text/AtomicString.h" 12 #include "wtf/text/AtomicString.h"
13 13
14 namespace blink { class WebServiceWorkerResponse; } 14 namespace blink { class WebServiceWorkerResponse; }
15 15
16 namespace WebCore { 16 namespace blink {
17 17
18 class BlobDataHandle; 18 class BlobDataHandle;
19 class FetchHeaderList; 19 class FetchHeaderList;
20 20
21 class FetchResponseData FINAL : public RefCountedWillBeGarbageCollectedFinalized <FetchResponseData> { 21 class FetchResponseData FINAL : public RefCountedWillBeGarbageCollectedFinalized <FetchResponseData> {
22 WTF_MAKE_NONCOPYABLE(FetchResponseData); 22 WTF_MAKE_NONCOPYABLE(FetchResponseData);
23 public: 23 public:
24 // "A response has an associated type which is one of basic, CORS, default, 24 // "A response has an associated type which is one of basic, CORS, default,
25 // error, and opaque. Unless stated otherwise, it is default." 25 // error, and opaque. Unless stated otherwise, it is default."
26 enum Type { BasicType, CORSType, DefaultType, ErrorType, OpaqueType }; 26 enum Type { BasicType, CORSType, DefaultType, ErrorType, OpaqueType };
(...skipping 30 matching lines...) Expand all
57 Type m_type; 57 Type m_type;
58 OwnPtr<TerminationReason> m_terminationReason; 58 OwnPtr<TerminationReason> m_terminationReason;
59 KURL m_url; 59 KURL m_url;
60 unsigned short m_status; 60 unsigned short m_status;
61 AtomicString m_statusMessage; 61 AtomicString m_statusMessage;
62 RefPtrWillBeMember<FetchHeaderList> m_headerList; 62 RefPtrWillBeMember<FetchHeaderList> m_headerList;
63 RefPtr<BlobDataHandle> m_blobDataHandle; 63 RefPtr<BlobDataHandle> m_blobDataHandle;
64 RefPtrWillBeMember<FetchResponseData> m_internalResponse; 64 RefPtrWillBeMember<FetchResponseData> m_internalResponse;
65 }; 65 };
66 66
67 } // namespace WebCore 67 } // namespace blink
68 68
69 #endif // FetchResponseData_h 69 #endif // FetchResponseData_h
OLDNEW
« no previous file with comments | « Source/modules/serviceworkers/FetchRequestData.cpp ('k') | Source/modules/serviceworkers/FetchResponseData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698