Index: third_party/WebKit/public/platform/WebMemoryState.h |
diff --git a/third_party/WebKit/public/platform/URLConversion.h b/third_party/WebKit/public/platform/WebMemoryState.h |
similarity index 52% |
copy from third_party/WebKit/public/platform/URLConversion.h |
copy to third_party/WebKit/public/platform/WebMemoryState.h |
index dbfa3fcda4911702e701bb5e0ea4e305f0897742..f547fea1938545ae95f4bf0f31a128811a8ec1f8 100644 |
--- a/third_party/WebKit/public/platform/URLConversion.h |
+++ b/third_party/WebKit/public/platform/WebMemoryState.h |
@@ -2,18 +2,18 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef URLConversion_h |
-#define URLConversion_h |
- |
-#include "WebCommon.h" |
- |
-class GURL; |
+#ifndef WebMemoryState_h |
+#define WebMemoryState_h |
namespace blink { |
-class WebString; |
- |
-BLINK_COMMON_EXPORT GURL WebStringToGURL(const WebString&); |
+// These numbers must correspond to base::MemoryState. |
+enum class MemoryState { |
+ UNKNOWN = -1, |
+ NORMAL = 0, |
+ THROTTLED = 1, |
+ SUSPENDED = 2, |
+}; |
} // namespace blink |