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

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

Issue 2510613002: Loading: move TextResource to core/loader/resource (Closed)
Patch Set: fix rebase error Created 4 years 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
« no previous file with comments | « third_party/WebKit/Source/core/fetch/DEPS ('k') | third_party/WebKit/Source/core/fetch/TextResource.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/fetch/TextResource.h
diff --git a/third_party/WebKit/Source/core/fetch/TextResource.h b/third_party/WebKit/Source/core/fetch/TextResource.h
deleted file mode 100644
index 8d0bd812e35eb6a854be56ea09218421dc0dd008..0000000000000000000000000000000000000000
--- a/third_party/WebKit/Source/core/fetch/TextResource.h
+++ /dev/null
@@ -1,39 +0,0 @@
-// Copyright 2014 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 TextResource_h
-#define TextResource_h
-
-#include "core/CoreExport.h"
-#include "core/fetch/Resource.h"
-#include <memory>
-
-namespace blink {
-
-class TextResourceDecoder;
-
-class CORE_EXPORT TextResource : public Resource {
- public:
- // Returns the decoded data in text form. The data has to be available at
- // call time.
- String decodedText() const;
-
- void setEncoding(const String&) override;
- String encoding() const override;
-
- protected:
- TextResource(const ResourceRequest&,
- Type,
- const ResourceLoaderOptions&,
- const String& mimeType,
- const String& charset);
- ~TextResource() override;
-
- private:
- std::unique_ptr<TextResourceDecoder> m_decoder;
-};
-
-} // namespace blink
-
-#endif // TextResource_h
« no previous file with comments | « third_party/WebKit/Source/core/fetch/DEPS ('k') | third_party/WebKit/Source/core/fetch/TextResource.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698