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

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

Issue 2848243004: Clean up bindings/core/v8 (Part 2) (Closed)
Patch Set: Rebase Created 3 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
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/Response.h" 5 #include "modules/fetch/Response.h"
6 6
7 #include <memory> 7 #include <memory>
8 #include "bindings/core/v8/ExceptionState.h" 8 #include "bindings/core/v8/ExceptionState.h"
9 #include "bindings/core/v8/ScriptState.h"
10 #include "bindings/core/v8/V8BindingForTesting.h" 9 #include "bindings/core/v8/V8BindingForTesting.h"
11 #include "core/dom/Document.h" 10 #include "core/dom/Document.h"
12 #include "core/dom/ExecutionContext.h" 11 #include "core/dom/ExecutionContext.h"
13 #include "core/frame/Frame.h" 12 #include "core/frame/Frame.h"
14 #include "core/testing/DummyPageHolder.h" 13 #include "core/testing/DummyPageHolder.h"
15 #include "modules/fetch/BodyStreamBuffer.h" 14 #include "modules/fetch/BodyStreamBuffer.h"
16 #include "modules/fetch/BytesConsumer.h" 15 #include "modules/fetch/BytesConsumer.h"
17 #include "modules/fetch/BytesConsumerTestUtil.h" 16 #include "modules/fetch/BytesConsumerTestUtil.h"
18 #include "modules/fetch/DataConsumerHandleTestUtil.h" 17 #include "modules/fetch/DataConsumerHandleTestUtil.h"
19 #include "modules/fetch/FetchResponseData.h" 18 #include "modules/fetch/FetchResponseData.h"
19 #include "platform/bindings/ScriptState.h"
20 #include "platform/blob/BlobData.h" 20 #include "platform/blob/BlobData.h"
21 #include "platform/testing/UnitTestHelpers.h" 21 #include "platform/testing/UnitTestHelpers.h"
22 #include "platform/wtf/PtrUtil.h" 22 #include "platform/wtf/PtrUtil.h"
23 #include "platform/wtf/Vector.h" 23 #include "platform/wtf/Vector.h"
24 #include "public/platform/modules/serviceworker/WebServiceWorkerResponse.h" 24 #include "public/platform/modules/serviceworker/WebServiceWorkerResponse.h"
25 #include "testing/gtest/include/gtest/gtest.h" 25 #include "testing/gtest/include/gtest/gtest.h"
26 26
27 namespace blink { 27 namespace blink {
28 namespace { 28 namespace {
29 29
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after
311 311
312 response->InternalBodyBuffer()->StartLoading( 312 response->InternalBodyBuffer()->StartLoading(
313 FetchDataLoader::CreateLoaderAsString(), client1); 313 FetchDataLoader::CreateLoaderAsString(), client1);
314 cloned_response->InternalBodyBuffer()->StartLoading( 314 cloned_response->InternalBodyBuffer()->StartLoading(
315 FetchDataLoader::CreateLoaderAsString(), client2); 315 FetchDataLoader::CreateLoaderAsString(), client2);
316 blink::testing::RunPendingTasks(); 316 blink::testing::RunPendingTasks();
317 } 317 }
318 318
319 } // namespace 319 } // namespace
320 } // namespace blink 320 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/modules/fetch/Response.cpp ('k') | third_party/WebKit/Source/modules/filesystem/DOMFileSystem.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698