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

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

Issue 1167583003: Move Resource subclasses out of fetch/ (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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
« no previous file with comments | « Source/core/fetch/StyleSheetResourceClient.h ('k') | Source/core/fetch/TextResource.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/fetch/TextResource.h
diff --git a/Source/core/fetch/TextResource.h b/Source/core/fetch/TextResource.h
deleted file mode 100644
index 9054e5cba7eb54384574ab0ef9be3ec58f2492c0..0000000000000000000000000000000000000000
--- a/Source/core/fetch/TextResource.h
+++ /dev/null
@@ -1,34 +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/ResourcePtr.h"
-
-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;
-
- virtual void setEncoding(const String&) override;
- virtual String encoding() const override;
-
-protected:
- TextResource(const ResourceRequest&, Type, const String& mimeType, const String& charset);
- virtual ~TextResource();
-
-private:
- OwnPtr<TextResourceDecoder> m_decoder;
-};
-
-}
-
-#endif // TextResource_h
« no previous file with comments | « Source/core/fetch/StyleSheetResourceClient.h ('k') | Source/core/fetch/TextResource.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698