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

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

Issue 630403002: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/modules/serviceworkers (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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
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/text/AtomicString.h" 11 #include "wtf/text/AtomicString.h"
12 12
13 namespace blink { 13 namespace blink {
14 14
15 class BlobDataHandle; 15 class BlobDataHandle;
16 class FetchHeaderList; 16 class FetchHeaderList;
17 class WebServiceWorkerResponse; 17 class WebServiceWorkerResponse;
18 18
19 class FetchResponseData FINAL : public GarbageCollectedFinalized<FetchResponseDa ta> { 19 class FetchResponseData final : public GarbageCollectedFinalized<FetchResponseDa ta> {
20 WTF_MAKE_NONCOPYABLE(FetchResponseData); 20 WTF_MAKE_NONCOPYABLE(FetchResponseData);
21 public: 21 public:
22 // "A response has an associated type which is one of basic, CORS, default, 22 // "A response has an associated type which is one of basic, CORS, default,
23 // error, and opaque. Unless stated otherwise, it is default." 23 // error, and opaque. Unless stated otherwise, it is default."
24 enum Type { BasicType, CORSType, DefaultType, ErrorType, OpaqueType }; 24 enum Type { BasicType, CORSType, DefaultType, ErrorType, OpaqueType };
25 // "A response can have an associated termination reason which is one of 25 // "A response can have an associated termination reason which is one of
26 // end-user abort, fatal, and timeout." 26 // end-user abort, fatal, and timeout."
27 enum TerminationReason { EndUserAbortTermination, FatalTermination, TimeoutT ermination }; 27 enum TerminationReason { EndUserAbortTermination, FatalTermination, TimeoutT ermination };
28 28
29 static FetchResponseData* create(); 29 static FetchResponseData* create();
(...skipping 28 matching lines...) Expand all
58 unsigned short m_status; 58 unsigned short m_status;
59 AtomicString m_statusMessage; 59 AtomicString m_statusMessage;
60 Member<FetchHeaderList> m_headerList; 60 Member<FetchHeaderList> m_headerList;
61 RefPtr<BlobDataHandle> m_blobDataHandle; 61 RefPtr<BlobDataHandle> m_blobDataHandle;
62 Member<FetchResponseData> m_internalResponse; 62 Member<FetchResponseData> m_internalResponse;
63 }; 63 };
64 64
65 } // namespace blink 65 } // namespace blink
66 66
67 #endif // FetchResponseData_h 67 #endif // FetchResponseData_h
OLDNEW
« no previous file with comments | « Source/modules/serviceworkers/FetchRequestData.h ('k') | Source/modules/serviceworkers/Headers.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698