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

Unified Diff: sky/engine/core/html/parser/HTMLInputStream.h

Issue 1215103007: Remove remaining HTML elements (Closed) Base URL: git@github.com:domokit/mojo.git@master
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 | « sky/engine/core/html/parser/HTMLEntityParser.cpp ('k') | sky/engine/core/html/parser/HTMLParserScheduler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/html/parser/HTMLInputStream.h
diff --git a/sky/engine/core/html/parser/HTMLInputStream.h b/sky/engine/core/html/parser/HTMLInputStream.h
deleted file mode 100644
index 9f4a696ae05fd2ec7bb9c72def116c4e36859f45..0000000000000000000000000000000000000000
--- a/sky/engine/core/html/parser/HTMLInputStream.h
+++ /dev/null
@@ -1,38 +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 SKY_ENGINE_CORE_HTML_PARSER_HTMLINPUTSTREAM_H_
-#define SKY_ENGINE_CORE_HTML_PARSER_HTMLINPUTSTREAM_H_
-
-#include "sky/engine/core/html/parser/InputStreamPreprocessor.h"
-#include "sky/engine/platform/text/SegmentedString.h"
-
-namespace blink {
-
-class HTMLInputStream {
- WTF_MAKE_NONCOPYABLE(HTMLInputStream);
-public:
- HTMLInputStream() { }
-
- void appendToEnd(const SegmentedString& string)
- {
- m_string.append(string);
- }
-
- void markEndOfFile()
- {
- m_string.append(SegmentedString(String(&kEndOfFileMarker, 1)));
- m_string.close();
- }
-
- SegmentedString& current() { return m_string; }
- const SegmentedString& current() const { return m_string; }
-
-private:
- SegmentedString m_string;
-};
-
-}
-
-#endif // SKY_ENGINE_CORE_HTML_PARSER_HTMLINPUTSTREAM_H_
« no previous file with comments | « sky/engine/core/html/parser/HTMLEntityParser.cpp ('k') | sky/engine/core/html/parser/HTMLParserScheduler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698