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

Side by Side Diff: third_party/WebKit/Source/modules/fetch/BodyStreamBufferTest.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/BodyStreamBuffer.h" 5 #include "modules/fetch/BodyStreamBuffer.h"
6 6
7 #include <memory>
7 #include "bindings/core/v8/V8BindingForTesting.h" 8 #include "bindings/core/v8/V8BindingForTesting.h"
8 #include "core/dom/Document.h" 9 #include "core/dom/Document.h"
9 #include "core/html/FormData.h" 10 #include "core/html/FormData.h"
10 #include "modules/fetch/BlobBytesConsumer.h" 11 #include "modules/fetch/BlobBytesConsumer.h"
11 #include "modules/fetch/BytesConsumerTestUtil.h" 12 #include "modules/fetch/BytesConsumerTestUtil.h"
12 #include "modules/fetch/FormDataBytesConsumer.h" 13 #include "modules/fetch/FormDataBytesConsumer.h"
13 #include "platform/blob/BlobData.h" 14 #include "platform/blob/BlobData.h"
14 #include "platform/blob/BlobURL.h" 15 #include "platform/blob/BlobURL.h"
15 #include "platform/network/EncodedFormData.h" 16 #include "platform/network/EncodedFormData.h"
16 #include "platform/testing/UnitTestHelpers.h" 17 #include "platform/testing/UnitTestHelpers.h"
18 #include "platform/wtf/PtrUtil.h"
17 #include "testing/gmock/include/gmock/gmock.h" 19 #include "testing/gmock/include/gmock/gmock.h"
18 #include "testing/gtest/include/gtest/gtest.h" 20 #include "testing/gtest/include/gtest/gtest.h"
19 #include "wtf/PtrUtil.h"
20 #include <memory>
21 21
22 namespace blink { 22 namespace blink {
23 23
24 namespace { 24 namespace {
25 25
26 using ::testing::ByMove; 26 using ::testing::ByMove;
27 using ::testing::InSequence; 27 using ::testing::InSequence;
28 using ::testing::Return; 28 using ::testing::Return;
29 using ::testing::_; 29 using ::testing::_;
30 using ::testing::SaveArg; 30 using ::testing::SaveArg;
(...skipping 452 matching lines...) Expand 10 before | Expand all | Expand 10 after
483 ScriptValue reason(scope.GetScriptState(), 483 ScriptValue reason(scope.GetScriptState(),
484 V8String(scope.GetScriptState()->GetIsolate(), "reason")); 484 V8String(scope.GetScriptState()->GetIsolate(), "reason"));
485 EXPECT_FALSE(consumer->IsCancelled()); 485 EXPECT_FALSE(consumer->IsCancelled());
486 buffer->Cancel(scope.GetScriptState(), reason); 486 buffer->Cancel(scope.GetScriptState(), reason);
487 EXPECT_TRUE(consumer->IsCancelled()); 487 EXPECT_TRUE(consumer->IsCancelled());
488 } 488 }
489 489
490 } // namespace 490 } // namespace
491 491
492 } // namespace blink 492 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/modules/fetch/Body.cpp ('k') | third_party/WebKit/Source/modules/fetch/BytesConsumer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698