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

Side by Side Diff: third_party/WebKit/Source/modules/fetch/FetchResponseData.h

Issue 2388423003: reflow comments in modules/[fetch,indexeddb] (Closed)
Patch Set: rebase Created 4 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 "core/fetch/CrossOriginAccessControl.h" 8 #include "core/fetch/CrossOriginAccessControl.h"
9 #include "modules/ModulesExport.h" 9 #include "modules/ModulesExport.h"
10 #include "platform/heap/Handle.h" 10 #include "platform/heap/Handle.h"
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 FatalTermination, 44 FatalTermination,
45 TimeoutTermination 45 TimeoutTermination
46 }; 46 };
47 47
48 static FetchResponseData* create(); 48 static FetchResponseData* create();
49 static FetchResponseData* createNetworkErrorResponse(); 49 static FetchResponseData* createNetworkErrorResponse();
50 static FetchResponseData* createWithBuffer(BodyStreamBuffer*); 50 static FetchResponseData* createWithBuffer(BodyStreamBuffer*);
51 51
52 FetchResponseData* createBasicFilteredResponse() const; 52 FetchResponseData* createBasicFilteredResponse() const;
53 // Creates a CORS filtered response, settings the response's cors exposed 53 // Creates a CORS filtered response, settings the response's cors exposed
54 // header names list to the result of parsing the Access-Control-Expose-Header s 54 // header names list to the result of parsing the
55 // header. 55 // Access-Control-Expose-Headers header.
56 FetchResponseData* createCORSFilteredResponse() const; 56 FetchResponseData* createCORSFilteredResponse() const;
57 // Creates a CORS filtered response with an explicit set of exposed header 57 // Creates a CORS filtered response with an explicit set of exposed header
58 // names. 58 // names.
59 FetchResponseData* createCORSFilteredResponse( 59 FetchResponseData* createCORSFilteredResponse(
60 const HTTPHeaderSet& exposedHeaders) const; 60 const HTTPHeaderSet& exposedHeaders) const;
61 FetchResponseData* createOpaqueFilteredResponse() const; 61 FetchResponseData* createOpaqueFilteredResponse() const;
62 FetchResponseData* createOpaqueRedirectFilteredResponse() const; 62 FetchResponseData* createOpaqueRedirectFilteredResponse() const;
63 63
64 FetchResponseData* internalResponse() { return m_internalResponse; } 64 FetchResponseData* internalResponse() { return m_internalResponse; }
65 const FetchResponseData* internalResponse() const { 65 const FetchResponseData* internalResponse() const {
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 Member<BodyStreamBuffer> m_buffer; 125 Member<BodyStreamBuffer> m_buffer;
126 String m_mimeType; 126 String m_mimeType;
127 int64_t m_responseTime; 127 int64_t m_responseTime;
128 String m_cacheStorageCacheName; 128 String m_cacheStorageCacheName;
129 HTTPHeaderSet m_corsExposedHeaderNames; 129 HTTPHeaderSet m_corsExposedHeaderNames;
130 }; 130 };
131 131
132 } // namespace blink 132 } // namespace blink
133 133
134 #endif // FetchResponseData_h 134 #endif // FetchResponseData_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/modules/fetch/FetchManager.cpp ('k') | third_party/WebKit/Source/modules/fetch/Request.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698