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

Unified Diff: third_party/WebKit/public/platform/WebMemoryState.h

Issue 2402643002: Make RenderThreadImpl a client of memory coordinator (Closed)
Patch Set: Created 4 years, 2 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: 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..cfb8ebe95e59dddb20574cc94339c48e072eacc4 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 number must correspond to base::MemoryState.
haraken 2016/10/07 11:45:30 numbers
hajimehoshi 2016/10/11 07:05:32 Done.
+enum class MemoryState {
+ UNKNOWN = -1,
+ NORMAL = 0,
+ THROTTLED = 1,
+ SUSPENDED = 2,
+};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698