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

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

Issue 1310643003: Make classes and structures in core/events and core/fetch fast-allocated. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 4 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
Index: Source/core/fetch/FetchUtils.h
diff --git a/Source/core/fetch/FetchUtils.h b/Source/core/fetch/FetchUtils.h
index 5431369fb6d41d8b318fc25d085007bf0dcf00db..6c6f5083d0a717b63b64e2fa774a4e7429bbdebf 100644
--- a/Source/core/fetch/FetchUtils.h
+++ b/Source/core/fetch/FetchUtils.h
@@ -6,6 +6,7 @@
#define FetchUtils_h
#include "core/CoreExport.h"
+#include "wtf/Allocator.h"
#include "wtf/Forward.h"
namespace blink {
@@ -13,6 +14,7 @@ namespace blink {
class HTTPHeaderMap;
class CORE_EXPORT FetchUtils {
+ STATIC_ONLY(FetchUtils);
public:
static bool isSimpleMethod(const String& method);
static bool isSimpleHeader(const AtomicString& name, const AtomicString& value);
@@ -23,9 +25,6 @@ public:
static bool isForbiddenResponseHeaderName(const String& name);
static bool isSimpleOrForbiddenRequest(const String& method, const HTTPHeaderMap&);
static AtomicString normalizeMethod(const AtomicString& method);
-
-private:
- FetchUtils(); // = delete;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698