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

Side by Side Diff: third_party/WebKit/Source/modules/cachestorage/CacheTest.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/cachestorage/Cache.h" 5 #include "modules/cachestorage/Cache.h"
6 6
7 #include <algorithm>
8 #include <memory>
9 #include <string>
7 #include "bindings/core/v8/ExceptionState.h" 10 #include "bindings/core/v8/ExceptionState.h"
8 #include "bindings/core/v8/ScriptFunction.h" 11 #include "bindings/core/v8/ScriptFunction.h"
9 #include "bindings/core/v8/ScriptPromise.h" 12 #include "bindings/core/v8/ScriptPromise.h"
10 #include "bindings/core/v8/ScriptPromiseResolver.h" 13 #include "bindings/core/v8/ScriptPromiseResolver.h"
11 #include "bindings/core/v8/ScriptValue.h" 14 #include "bindings/core/v8/ScriptValue.h"
12 #include "bindings/core/v8/V8Binding.h" 15 #include "bindings/core/v8/V8Binding.h"
13 #include "bindings/modules/v8/V8Request.h" 16 #include "bindings/modules/v8/V8Request.h"
14 #include "bindings/modules/v8/V8Response.h" 17 #include "bindings/modules/v8/V8Response.h"
15 #include "core/dom/Document.h" 18 #include "core/dom/Document.h"
16 #include "core/frame/Frame.h" 19 #include "core/frame/Frame.h"
17 #include "core/testing/DummyPageHolder.h" 20 #include "core/testing/DummyPageHolder.h"
18 #include "modules/fetch/BodyStreamBuffer.h" 21 #include "modules/fetch/BodyStreamBuffer.h"
19 #include "modules/fetch/FormDataBytesConsumer.h" 22 #include "modules/fetch/FormDataBytesConsumer.h"
20 #include "modules/fetch/GlobalFetch.h" 23 #include "modules/fetch/GlobalFetch.h"
21 #include "modules/fetch/Request.h" 24 #include "modules/fetch/Request.h"
22 #include "modules/fetch/Response.h" 25 #include "modules/fetch/Response.h"
23 #include "modules/fetch/ResponseInit.h" 26 #include "modules/fetch/ResponseInit.h"
27 #include "platform/wtf/PtrUtil.h"
24 #include "public/platform/WebURLResponse.h" 28 #include "public/platform/WebURLResponse.h"
25 #include "public/platform/modules/serviceworker/WebServiceWorkerCache.h" 29 #include "public/platform/modules/serviceworker/WebServiceWorkerCache.h"
26 #include "testing/gtest/include/gtest/gtest.h" 30 #include "testing/gtest/include/gtest/gtest.h"
27 #include "wtf/PtrUtil.h"
28 #include <algorithm>
29 #include <memory>
30 #include <string>
31 31
32 namespace blink { 32 namespace blink {
33 33
34 namespace { 34 namespace {
35 35
36 const char kNotImplementedString[] = 36 const char kNotImplementedString[] =
37 "NotSupportedError: Method is not implemented."; 37 "NotSupportedError: Method is not implemented.";
38 38
39 class ScopedFetcherForTests final 39 class ScopedFetcherForTests final
40 : public GarbageCollectedFinalized<ScopedFetcherForTests>, 40 : public GarbageCollectedFinalized<ScopedFetcherForTests>,
(...skipping 691 matching lines...) Expand 10 before | Expand all | Expand 10 after
732 732
733 EXPECT_EQ(kNotImplementedString, GetRejectString(add_result)); 733 EXPECT_EQ(kNotImplementedString, GetRejectString(add_result));
734 EXPECT_EQ(1, fetcher->FetchCount()); 734 EXPECT_EQ(1, fetcher->FetchCount());
735 EXPECT_EQ("dispatchBatch", 735 EXPECT_EQ("dispatchBatch",
736 test_cache->GetAndClearLastErrorWebCacheMethodCalled()); 736 test_cache->GetAndClearLastErrorWebCacheMethodCalled());
737 } 737 }
738 738
739 } // namespace 739 } // namespace
740 740
741 } // namespace blink 741 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698