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

Unified Diff: third_party/WebKit/Source/core/fetch/MockResource.h

Issue 2584423002: Loading: move core/fetch to platform/loader/fetch (Closed)
Patch Set: another try Created 3 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/fetch/MockResource.h
diff --git a/third_party/WebKit/Source/core/fetch/MockResource.h b/third_party/WebKit/Source/core/fetch/MockResource.h
deleted file mode 100644
index b9e227d72ed00d1e1bee2689cf0b8a509e9750d4..0000000000000000000000000000000000000000
--- a/third_party/WebKit/Source/core/fetch/MockResource.h
+++ /dev/null
@@ -1,30 +0,0 @@
-// Copyright 2016 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef MockResource_h
-#define MockResource_h
-
-#include "core/fetch/Resource.h"
-#include "platform/heap/Handle.h"
-
-namespace blink {
-
-class FetchRequest;
-class ResourceFetcher;
-struct ResourceLoaderOptions;
-
-// Mocked Resource sub-class for testing. MockResource class can pretend a type
-// of Resource sub-class in a simple way. You should not expect anything
-// complicated to emulate actual sub-resources, but you may be able to use this
-// class to verify classes that consume Resource sub-classes in a simple way.
-class MockResource final : public Resource {
- public:
- static MockResource* fetch(FetchRequest&, ResourceFetcher*);
- static MockResource* create(const ResourceRequest&);
- MockResource(const ResourceRequest&, const ResourceLoaderOptions&);
-};
-
-} // namespace blink
-
-#endif
« no previous file with comments | « third_party/WebKit/Source/core/fetch/MockFetchContext.h ('k') | third_party/WebKit/Source/core/fetch/MockResource.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698