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

Unified Diff: content/child/blink_platform_impl.h

Issue 2860093003: Implement device-ram client hints header (Closed)
Patch Set: Address Comments 2 Created 3 years, 7 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: content/child/blink_platform_impl.h
diff --git a/content/child/blink_platform_impl.h b/content/child/blink_platform_impl.h
index e43acb586ca47807976d02c82edc1767df07849b..0bc7514788bfe801d833bd2e733611b71691bbbc 100644
--- a/content/child/blink_platform_impl.h
+++ b/content/child/blink_platform_impl.h
@@ -74,6 +74,7 @@ class CONTENT_EXPORT BlinkPlatformImpl
bool DatabaseSetFileSize(const blink::WebString& vfs_file_name,
long long size) override;
size_t ActualMemoryUsageMB() override;
+ size_t AmountOfPhysicalMemoryMB() override;
size_t NumberOfProcessors() override;
size_t MaxDecodedImageBytes() override;
@@ -149,6 +150,7 @@ class CONTENT_EXPORT BlinkPlatformImpl
scoped_refptr<NotificationDispatcher> notification_dispatcher_;
blink::scheduler::WebThreadBase* compositor_thread_;
+ size_t physical_memory_mb_;
};
} // namespace content
« no previous file with comments | « no previous file | content/child/blink_platform_impl.cc » ('j') | third_party/WebKit/Source/core/loader/FrameFetchContext.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698