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

Unified Diff: Source/core/loader/LinkHeader.h

Issue 876633009: Revert of Add a parser for Link headers (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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
« no previous file with comments | « Source/core/core.gypi ('k') | Source/core/loader/LinkHeader.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/loader/LinkHeader.h
diff --git a/Source/core/loader/LinkHeader.h b/Source/core/loader/LinkHeader.h
deleted file mode 100644
index e82a291c426267858e9c7ed681cda069969c41c7..0000000000000000000000000000000000000000
--- a/Source/core/loader/LinkHeader.h
+++ /dev/null
@@ -1,37 +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.
-
-#ifndef LinkHeader_h
-#define LinkHeader_h
-
-#include "wtf/text/WTFString.h"
-
-namespace blink {
-
-class LinkHeader {
-public:
- LinkHeader(const String& header);
-
- const String url() const { return m_url; };
- const String rel() const { return m_rel; };
- bool valid() const { return m_isValid; };
-
- enum LinkParameterName {
- LinkParameterUnknown,
- LinkParameterRel,
- };
-
-private:
- template <typename CharType>
- bool init(CharType* headerValue, unsigned len);
- void setValue(LinkParameterName, String value);
-
- String m_url;
- String m_rel;
- bool m_isValid;
-};
-
-}
-
-#endif
« no previous file with comments | « Source/core/core.gypi ('k') | Source/core/loader/LinkHeader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698