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

Unified Diff: chrome/renderer/chrome_content_renderer_client.h

Issue 2859723004: [Blink-Scheduler] Distinguish between normal and foreground-only renderers for monitoring load. (Closed)
Patch Set: --- 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
« no previous file with comments | « no previous file | chrome/renderer/chrome_content_renderer_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/chrome_content_renderer_client.h
diff --git a/chrome/renderer/chrome_content_renderer_client.h b/chrome/renderer/chrome_content_renderer_client.h
index dd11c11af11c2a34f816048d36b27b6fc1cfbcc3..9bd9baeba953c49911f23589824f81130b3b2a53 100644
--- a/chrome/renderer/chrome_content_renderer_client.h
+++ b/chrome/renderer/chrome_content_renderer_client.h
@@ -191,6 +191,7 @@ class ChromeContentRendererClient : public content::ContentRendererClient {
GURL OverrideFlashEmbedWithHTML(const GURL& url) override;
std::unique_ptr<base::TaskScheduler::InitParams> GetTaskSchedulerInitParams()
override;
+ bool CanBeBackgrounded() const override;
#if BUILDFLAG(ENABLE_SPELLCHECK)
// Sets a new |spellcheck|. Used for testing only.
« no previous file with comments | « no previous file | chrome/renderer/chrome_content_renderer_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698