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

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

Issue 2252743002: Revert of Add MemoryCoordinatorClient (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
« no previous file with comments | « third_party/WebKit/public/blink_headers.gypi ('k') | third_party/WebKit/public/web/WebMemoryCoordinator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/platform/WebMemoryCoordinator.h
diff --git a/third_party/WebKit/public/platform/WebMemoryCoordinator.h b/third_party/WebKit/public/platform/WebMemoryCoordinator.h
deleted file mode 100644
index e0a80687c13f331ff59758f47314d6d380d76d13..0000000000000000000000000000000000000000
--- a/third_party/WebKit/public/platform/WebMemoryCoordinator.h
+++ /dev/null
@@ -1,26 +0,0 @@
-// Copyright 2015 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 WebMemoryCoordinator_h
-#define WebMemoryCoordinator_h
-
-#include "public/platform/WebCommon.h"
-#include "public/platform/WebMemoryPressureLevel.h"
-
-namespace blink {
-
-class WebMemoryCoordinator {
-public:
- // Called when a memory pressure notification is received.
- // TODO(bashi): Deprecating. Remove this when MemoryPressureListener is
- // gone.
- BLINK_PLATFORM_EXPORT static void onMemoryPressure(WebMemoryPressureLevel);
-
- // Called when Blink should purge caches.
- BLINK_PLATFORM_EXPORT static void purgeMemory();
-};
-
-} // namespace blink
-
-#endif
« no previous file with comments | « third_party/WebKit/public/blink_headers.gypi ('k') | third_party/WebKit/public/web/WebMemoryCoordinator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698