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

Side by Side Diff: third_party/WebKit/Source/modules/fetch/FormDataBytesConsumerTest.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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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/FormDataBytesConsumer.h" 5 #include "modules/fetch/FormDataBytesConsumer.h"
6 6
7 #include "core/dom/DOMArrayBuffer.h" 7 #include "core/dom/DOMArrayBuffer.h"
8 #include "core/dom/DOMTypedArray.h" 8 #include "core/dom/DOMTypedArray.h"
9 #include "core/dom/Document.h" 9 #include "core/dom/Document.h"
10 #include "core/html/FormData.h" 10 #include "core/html/FormData.h"
11 #include "core/testing/DummyPageHolder.h" 11 #include "core/testing/DummyPageHolder.h"
12 #include "modules/fetch/BytesConsumerTestUtil.h" 12 #include "modules/fetch/BytesConsumerTestUtil.h"
13 #include "platform/blob/BlobData.h" 13 #include "platform/blob/BlobData.h"
14 #include "platform/network/EncodedFormData.h" 14 #include "platform/network/EncodedFormData.h"
15 #include "platform/wtf/RefPtr.h"
16 #include "platform/wtf/Vector.h"
17 #include "platform/wtf/text/WTFString.h"
15 #include "testing/gmock/include/gmock/gmock.h" 18 #include "testing/gmock/include/gmock/gmock.h"
16 #include "testing/gtest/include/gtest/gtest.h" 19 #include "testing/gtest/include/gtest/gtest.h"
17 #include "wtf/RefPtr.h"
18 #include "wtf/Vector.h"
19 #include "wtf/text/WTFString.h"
20 20
21 namespace blink { 21 namespace blink {
22 namespace { 22 namespace {
23 23
24 using Result = BytesConsumer::Result; 24 using Result = BytesConsumer::Result;
25 using ::testing::_; 25 using ::testing::_;
26 using ::testing::DoAll; 26 using ::testing::DoAll;
27 using ::testing::InSequence; 27 using ::testing::InSequence;
28 using ::testing::Return; 28 using ::testing::Return;
29 using Checkpoint = ::testing::StrictMock<::testing::MockFunction<void(int)>>; 29 using Checkpoint = ::testing::StrictMock<::testing::MockFunction<void(int)>>;
(...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after
376 EXPECT_CALL(*underlying, Cancel()); 376 EXPECT_CALL(*underlying, Cancel());
377 EXPECT_CALL(checkpoint, Call(2)); 377 EXPECT_CALL(checkpoint, Call(2));
378 378
379 checkpoint.Call(1); 379 checkpoint.Call(1);
380 consumer->Cancel(); 380 consumer->Cancel();
381 checkpoint.Call(2); 381 checkpoint.Call(2);
382 } 382 }
383 383
384 } // namespace 384 } // namespace
385 } // namespace blink 385 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/modules/fetch/FormDataBytesConsumer.cpp ('k') | third_party/WebKit/Source/modules/fetch/Headers.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698