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

Unified Diff: third_party/WebKit/Source/core/fetch/LinkFetchResource.cpp

Issue 2497463004: Loading: move core/fetch/*Resource* to core/loader/resource/ (Closed)
Patch Set: [rebase] Created 4 years, 1 month 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/LinkFetchResource.cpp
diff --git a/third_party/WebKit/Source/core/fetch/LinkFetchResource.cpp b/third_party/WebKit/Source/core/fetch/LinkFetchResource.cpp
deleted file mode 100644
index 186c85dfc04f932f0d733e1a312734dcbbdf01ec..0000000000000000000000000000000000000000
--- a/third_party/WebKit/Source/core/fetch/LinkFetchResource.cpp
+++ /dev/null
@@ -1,29 +0,0 @@
-// Copyright 2015 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.
-
-#include "core/fetch/LinkFetchResource.h"
-
-#include "core/fetch/FetchRequest.h"
-#include "core/fetch/ResourceFetcher.h"
-
-namespace blink {
-
-Resource* LinkFetchResource::fetch(Resource::Type type,
- FetchRequest& request,
- ResourceFetcher* fetcher) {
- DCHECK_EQ(type, LinkPrefetch);
- DCHECK_EQ(request.resourceRequest().frameType(),
- WebURLRequest::FrameTypeNone);
- fetcher->determineRequestContext(request.mutableResourceRequest(), type);
- return fetcher->requestResource(request, LinkResourceFactory(type));
-}
-
-LinkFetchResource::LinkFetchResource(const ResourceRequest& request,
- Type type,
- const ResourceLoaderOptions& options)
- : Resource(request, type, options) {}
-
-LinkFetchResource::~LinkFetchResource() {}
-
-} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/core/fetch/LinkFetchResource.h ('k') | third_party/WebKit/Source/core/fetch/ScriptResource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698