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

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

Issue 2801083003: Rewrite references to "wtf/" to "platform/wtf/" in modules. (Closed)
Patch Set: Rebase again^3. Will try landing directly. Created 3 years, 8 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 #include "modules/fetch/FetchResponseData.h" 5 #include "modules/fetch/FetchResponseData.h"
6 6
7 #include "bindings/core/v8/ScriptState.h" 7 #include "bindings/core/v8/ScriptState.h"
8 #include "core/dom/DOMArrayBuffer.h" 8 #include "core/dom/DOMArrayBuffer.h"
9 #include "modules/fetch/BodyStreamBuffer.h" 9 #include "modules/fetch/BodyStreamBuffer.h"
10 #include "modules/fetch/FetchHeaderList.h" 10 #include "modules/fetch/FetchHeaderList.h"
11 #include "platform/loader/fetch/FetchUtils.h" 11 #include "platform/loader/fetch/FetchUtils.h"
12 #include "platform/wtf/PtrUtil.h"
12 #include "public/platform/modules/serviceworker/WebServiceWorkerResponse.h" 13 #include "public/platform/modules/serviceworker/WebServiceWorkerResponse.h"
13 #include "wtf/PtrUtil.h"
14 14
15 namespace blink { 15 namespace blink {
16 16
17 namespace { 17 namespace {
18 18
19 WebServiceWorkerResponseType FetchTypeToWebType( 19 WebServiceWorkerResponseType FetchTypeToWebType(
20 FetchResponseData::Type fetch_type) { 20 FetchResponseData::Type fetch_type) {
21 WebServiceWorkerResponseType web_type = kWebServiceWorkerResponseTypeDefault; 21 WebServiceWorkerResponseType web_type = kWebServiceWorkerResponseTypeDefault;
22 switch (fetch_type) { 22 switch (fetch_type) {
23 case FetchResponseData::kBasicType: 23 case FetchResponseData::kBasicType:
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after
298 } 298 }
299 } 299 }
300 300
301 DEFINE_TRACE(FetchResponseData) { 301 DEFINE_TRACE(FetchResponseData) {
302 visitor->Trace(header_list_); 302 visitor->Trace(header_list_);
303 visitor->Trace(internal_response_); 303 visitor->Trace(internal_response_);
304 visitor->Trace(buffer_); 304 visitor->Trace(buffer_);
305 } 305 }
306 306
307 } // namespace blink 307 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698