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

Side by Side Diff: third_party/WebKit/Source/core/loader/ThreadableLoaderTest.cpp

Issue 2815053002: Rewrite references to "wtf/" to "platform/wtf/" in core/loader. (Closed)
Patch Set: 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 "core/loader/ThreadableLoader.h" 5 #include "core/loader/ThreadableLoader.h"
6 6
7 #include <memory> 7 #include <memory>
8 #include "core/loader/DocumentThreadableLoader.h" 8 #include "core/loader/DocumentThreadableLoader.h"
9 #include "core/loader/ThreadableLoaderClient.h" 9 #include "core/loader/ThreadableLoaderClient.h"
10 #include "core/loader/ThreadableLoadingContext.h" 10 #include "core/loader/ThreadableLoadingContext.h"
11 #include "core/loader/WorkerThreadableLoader.h" 11 #include "core/loader/WorkerThreadableLoader.h"
12 #include "core/testing/DummyPageHolder.h" 12 #include "core/testing/DummyPageHolder.h"
13 #include "core/workers/WorkerLoaderProxy.h" 13 #include "core/workers/WorkerLoaderProxy.h"
14 #include "core/workers/WorkerReportingProxy.h" 14 #include "core/workers/WorkerReportingProxy.h"
15 #include "core/workers/WorkerThreadTestHelper.h" 15 #include "core/workers/WorkerThreadTestHelper.h"
16 #include "platform/WaitableEvent.h" 16 #include "platform/WaitableEvent.h"
17 #include "platform/geometry/IntSize.h" 17 #include "platform/geometry/IntSize.h"
18 #include "platform/loader/fetch/MemoryCache.h" 18 #include "platform/loader/fetch/MemoryCache.h"
19 #include "platform/loader/fetch/ResourceError.h" 19 #include "platform/loader/fetch/ResourceError.h"
20 #include "platform/loader/fetch/ResourceLoaderOptions.h" 20 #include "platform/loader/fetch/ResourceLoaderOptions.h"
21 #include "platform/loader/fetch/ResourceRequest.h" 21 #include "platform/loader/fetch/ResourceRequest.h"
22 #include "platform/loader/fetch/ResourceResponse.h" 22 #include "platform/loader/fetch/ResourceResponse.h"
23 #include "platform/loader/fetch/ResourceTimingInfo.h" 23 #include "platform/loader/fetch/ResourceTimingInfo.h"
24 #include "platform/testing/URLTestHelpers.h" 24 #include "platform/testing/URLTestHelpers.h"
25 #include "platform/testing/UnitTestHelpers.h" 25 #include "platform/testing/UnitTestHelpers.h"
26 #include "platform/weborigin/KURL.h" 26 #include "platform/weborigin/KURL.h"
27 #include "platform/weborigin/SecurityOrigin.h" 27 #include "platform/weborigin/SecurityOrigin.h"
28 #include "platform/wtf/Assertions.h"
29 #include "platform/wtf/Functional.h"
30 #include "platform/wtf/PtrUtil.h"
31 #include "platform/wtf/RefPtr.h"
28 #include "public/platform/Platform.h" 32 #include "public/platform/Platform.h"
29 #include "public/platform/WebURLLoadTiming.h" 33 #include "public/platform/WebURLLoadTiming.h"
30 #include "public/platform/WebURLLoaderMockFactory.h" 34 #include "public/platform/WebURLLoaderMockFactory.h"
31 #include "public/platform/WebURLResponse.h" 35 #include "public/platform/WebURLResponse.h"
32 #include "testing/gmock/include/gmock/gmock.h" 36 #include "testing/gmock/include/gmock/gmock.h"
33 #include "testing/gtest/include/gtest/gtest.h" 37 #include "testing/gtest/include/gtest/gtest.h"
34 #include "wtf/Assertions.h"
35 #include "wtf/Functional.h"
36 #include "wtf/PtrUtil.h"
37 #include "wtf/RefPtr.h"
38 38
39 namespace blink { 39 namespace blink {
40 40
41 namespace { 41 namespace {
42 42
43 using ::testing::_; 43 using ::testing::_;
44 using ::testing::InSequence; 44 using ::testing::InSequence;
45 using ::testing::InvokeWithoutArgs; 45 using ::testing::InvokeWithoutArgs;
46 using ::testing::StrEq; 46 using ::testing::StrEq;
47 using ::testing::Truly; 47 using ::testing::Truly;
(...skipping 833 matching lines...) Expand 10 before | Expand all | Expand 10 after
881 // test is not saying that didFailAccessControlCheck should be dispatched 881 // test is not saying that didFailAccessControlCheck should be dispatched
882 // synchronously, but is saying that even when a response is served 882 // synchronously, but is saying that even when a response is served
883 // synchronously it should not lead to a crash. 883 // synchronously it should not lead to a crash.
884 StartLoader(KURL(KURL(), "about:blank")); 884 StartLoader(KURL(KURL(), "about:blank"));
885 CallCheckpoint(2); 885 CallCheckpoint(2);
886 } 886 }
887 887
888 } // namespace 888 } // namespace
889 889
890 } // namespace blink 890 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698