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

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

Issue 2402643002: Make RenderThreadImpl a client of memory coordinator (Closed)
Patch Set: Address on haraken's review 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
« no previous file with comments | « third_party/WebKit/public/platform/WebMemoryCoordinator.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « third_party/WebKit/public/platform/WebMemoryCoordinator.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698