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

Unified Diff: chrome/browser/site_details.h

Issue 1688963002: UMA stats to count RenderFrameProxyHosts (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@uma2
Patch Set: Charlie's fixes Created 4 years, 10 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/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 dc7dd26087671dd698ea25f828011e392608268e..7f16421ff09c0a36172999ee3efc9c801978dbfb 100644
--- a/chrome/browser/site_details.h
+++ b/chrome/browser/site_details.h
@@ -30,6 +30,7 @@ struct BrowsingInstanceInfo {
~BrowsingInstanceInfo();
std::set<content::SiteInstance*> site_instances;
+ int proxy_count = 0;
};
using BrowsingInstanceMap =
base::hash_map<content::SiteInstance*, BrowsingInstanceInfo>;
@@ -50,7 +51,7 @@ struct IsolationScenario {
IsolationScenario();
~IsolationScenario();
- IsolationScenarioType policy;
+ IsolationScenarioType policy = ISOLATE_NOTHING;
std::set<GURL> all_sites;
ScenarioBrowsingInstanceMap browsing_instances;
};
@@ -71,7 +72,7 @@ struct SiteData {
// A count of all RenderFrameHosts, which are in a different SiteInstance from
// their parents.
- int out_of_process_frames;
+ int out_of_process_frames = 0;
};
// 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