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

Unified Diff: sky/engine/core/fetch/FetchUtils.h

Issue 1223793006: Delete sky/engine/core/fetch (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 5 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/fetch/FetchRequest.cpp ('k') | sky/engine/core/fetch/FetchUtils.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/fetch/FetchUtils.h
diff --git a/sky/engine/core/fetch/FetchUtils.h b/sky/engine/core/fetch/FetchUtils.h
deleted file mode 100644
index 23b5f363d22ea9486d0bfb30914012d546e4132d..0000000000000000000000000000000000000000
--- a/sky/engine/core/fetch/FetchUtils.h
+++ /dev/null
@@ -1,31 +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_FETCH_FETCHUTILS_H_
-#define SKY_ENGINE_CORE_FETCH_FETCHUTILS_H_
-
-#include "sky/engine/wtf/Forward.h"
-
-namespace blink {
-
-class HTTPHeaderMap;
-
-class FetchUtils {
-public:
- static bool isSimpleMethod(const String& method);
- static bool isSimpleHeader(const AtomicString& name, const AtomicString& value);
- static bool isSimpleRequest(const String& method, const HTTPHeaderMap&);
- static bool isForbiddenMethod(const String& method);
- static bool isUsefulMethod(const String& method) { return !isForbiddenMethod(method); }
- static bool isForbiddenHeaderName(const String& name);
- static bool isForbiddenResponseHeaderName(const String& name);
- static bool isSimpleOrForbiddenRequest(const String& method, const HTTPHeaderMap&);
-
-private:
- FetchUtils(); // = delete;
-};
-
-} // namespace blink
-
-#endif // SKY_ENGINE_CORE_FETCH_FETCHUTILS_H_
« no previous file with comments | « sky/engine/core/fetch/FetchRequest.cpp ('k') | sky/engine/core/fetch/FetchUtils.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698