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

Unified Diff: content/browser/memory/memory_coordinator.h

Issue 2569963002: MemoryCoordinator checks if ServiceWorker exists on the suspending process (Closed)
Patch Set: Updated the comment Created 4 years 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: content/browser/memory/memory_coordinator.h
diff --git a/content/browser/memory/memory_coordinator.h b/content/browser/memory/memory_coordinator.h
index 9ee0512172fc74fdc04d380115b0093323f2330d..3d06a38b5af41b07f8e476f7adedae61d7af9469 100644
--- a/content/browser/memory/memory_coordinator.h
+++ b/content/browser/memory/memory_coordinator.h
@@ -105,6 +105,8 @@ class CONTENT_EXPORT MemoryCoordinator {
FRIEND_TEST_ALL_PREFIXES(MemoryCoordinatorTest, HandleAdded);
FRIEND_TEST_ALL_PREFIXES(MemoryCoordinatorTest, CanSuspendRenderer);
FRIEND_TEST_ALL_PREFIXES(MemoryCoordinatorTest, CanThrottleRenderer);
+ FRIEND_TEST_ALL_PREFIXES(MemoryCoordinatorWithServiceWorkerTest,
+ CannotSuspendRendererWithServiceWorker);
#endif
FRIEND_TEST_ALL_PREFIXES(MemoryCoordinatorTest,
ChildRemovedOnConnectionError);

Powered by Google App Engine
This is Rietveld 408576698