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

Unified Diff: chrome/browser/site_details.h

Issue 1453193004: Add histogram for number of out-of-process iframes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Initialize frames count in constructor. Created 5 years, 1 month 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/browser/site_details.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/site_details.h
diff --git a/chrome/browser/site_details.h b/chrome/browser/site_details.h
index da613373d276a0103dcfbc20212c03f54523d1b3..a81fc379ea059aac5b0df18eff577a46d33ab613 100644
--- a/chrome/browser/site_details.h
+++ b/chrome/browser/site_details.h
@@ -45,6 +45,10 @@ struct SiteData {
// Global list of all SiteInstances, used for de-duping related instances.
std::vector<content::SiteInstance*> instances;
+
+ // A count of all RenderFrameHosts, which are in a different SiteInstance from
+ // their parents.
+ int out_of_process_frames;
};
// Maps a BrowserContext to information about the sites it contains.
« no previous file with comments | « no previous file | chrome/browser/site_details.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698