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

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

Issue 1545223002: Switch to standard integer types in chrome/browser/, part 4 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 4 years, 12 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
« no previous file with comments | « chrome/browser/signin/signin_ui_util.cc ('k') | chrome/browser/site_details_browsertest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>
9
8 #include "base/containers/hash_tables.h" 10 #include "base/containers/hash_tables.h"
11 #include "base/macros.h"
9 #include "content/public/browser/browser_context.h" 12 #include "content/public/browser/browser_context.h"
10 #include "content/public/browser/site_instance.h" 13 #include "content/public/browser/site_instance.h"
11 #include "content/public/browser/web_contents.h" 14 #include "content/public/browser/web_contents.h"
12 15
13 // Maps an ID representing each BrowsingInstance to a set of site URLs. 16 // Maps an ID representing each BrowsingInstance to a set of site URLs.
14 using BrowsingInstanceSiteMap = base::hash_map<int32, std::set<GURL>>; 17 using BrowsingInstanceSiteMap = base::hash_map<int32_t, std::set<GURL>>;
15 18
16 // Maps a SiteInstance to a set of all SiteInstances in the same 19 // Maps a SiteInstance to a set of all SiteInstances in the same
17 // BrowsingInstance. 20 // BrowsingInstance.
18 using SiteInstanceMap = 21 using SiteInstanceMap =
19 base::hash_map<content::SiteInstance*, std::set<content::SiteInstance*>>; 22 base::hash_map<content::SiteInstance*, std::set<content::SiteInstance*>>;
20 23
21 // This enum represents various alternative process model policies that we want 24 // This enum represents various alternative process model policies that we want
22 // to evaluate. We'll estimate the process cost of each scenario. 25 // to evaluate. We'll estimate the process cost of each scenario.
23 enum IsolationScenarioType { 26 enum IsolationScenarioType {
24 ISOLATE_NOTHING, 27 ISOLATE_NOTHING,
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 79
77 private: 80 private:
78 // Never needs to be constructed. 81 // Never needs to be constructed.
79 SiteDetails(); 82 SiteDetails();
80 ~SiteDetails(); 83 ~SiteDetails();
81 84
82 DISALLOW_COPY_AND_ASSIGN(SiteDetails); 85 DISALLOW_COPY_AND_ASSIGN(SiteDetails);
83 }; 86 };
84 87
85 #endif // CHROME_BROWSER_SITE_DETAILS_H_ 88 #endif // CHROME_BROWSER_SITE_DETAILS_H_
OLDNEW
« no previous file with comments | « chrome/browser/signin/signin_ui_util.cc ('k') | chrome/browser/site_details_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698