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

Side by Side Diff: chrome/browser/site_details.h

Issue 2850793005: Remove command line/field trial support and configs for Isolate Extensions. (Closed)
Patch Set: Remove more cases of "isolate.*extension" 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_SITE_DETAILS_H_ 5 #ifndef CHROME_BROWSER_SITE_DETAILS_H_
6 #define CHROME_BROWSER_SITE_DETAILS_H_ 6 #define CHROME_BROWSER_SITE_DETAILS_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/containers/hash_tables.h" 10 #include "base/containers/hash_tables.h"
(...skipping 25 matching lines...) Expand all
36 }; 36 };
37 using BrowsingInstanceMap = 37 using BrowsingInstanceMap =
38 base::hash_map<content::SiteInstance*, BrowsingInstanceInfo>; 38 base::hash_map<content::SiteInstance*, BrowsingInstanceInfo>;
39 39
40 // This enum represents various alternative process model policies that we want 40 // This enum represents various alternative process model policies that we want
41 // to evaluate. We'll estimate the process cost of each scenario. 41 // to evaluate. We'll estimate the process cost of each scenario.
42 enum IsolationScenarioType { 42 enum IsolationScenarioType {
43 ISOLATE_NOTHING, 43 ISOLATE_NOTHING,
44 ISOLATE_ALL_SITES, 44 ISOLATE_ALL_SITES,
45 ISOLATE_HTTPS_SITES, 45 ISOLATE_HTTPS_SITES,
46 ISOLATE_EXTENSIONS, 46 ISOLATION_SCENARIO_LAST = ISOLATE_HTTPS_SITES
47 ISOLATION_SCENARIO_LAST = ISOLATE_EXTENSIONS
48 }; 47 };
49 48
50 // Contains the state required to estimate the process count under a particular 49 // Contains the state required to estimate the process count under a particular
51 // process model. We have one of these per IsolationScenarioType. 50 // process model. We have one of these per IsolationScenarioType.
52 struct IsolationScenario { 51 struct IsolationScenario {
53 IsolationScenario(); 52 IsolationScenario();
54 IsolationScenario(const IsolationScenario& other); 53 IsolationScenario(const IsolationScenario& other);
55 ~IsolationScenario(); 54 ~IsolationScenario();
56 55
57 IsolationScenarioType policy = ISOLATE_NOTHING; 56 IsolationScenarioType policy = ISOLATE_NOTHING;
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 96
98 private: 97 private:
99 // Never needs to be constructed. 98 // Never needs to be constructed.
100 SiteDetails(); 99 SiteDetails();
101 ~SiteDetails(); 100 ~SiteDetails();
102 101
103 DISALLOW_COPY_AND_ASSIGN(SiteDetails); 102 DISALLOW_COPY_AND_ASSIGN(SiteDetails);
104 }; 103 };
105 104
106 #endif // CHROME_BROWSER_SITE_DETAILS_H_ 105 #endif // CHROME_BROWSER_SITE_DETAILS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698