OLD | NEW |
---|---|
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 CONTENT_BROWSER_BROWSING_INSTANCE_H_ | 5 #ifndef CONTENT_BROWSER_BROWSING_INSTANCE_H_ |
6 #define CONTENT_BROWSER_BROWSING_INSTANCE_H_ | 6 #define CONTENT_BROWSER_BROWSING_INSTANCE_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/hash_tables.h" | 9 #include "base/hash_tables.h" |
10 #include "base/lazy_instance.h" | 10 #include "base/lazy_instance.h" |
11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
12 #include "content/common/content_export.h" | 12 #include "content/common/content_export.h" |
13 | 13 |
14 #include <list> | |
Charlie Reis
2011/12/01 23:13:02
Remove?
supersat
2011/12/09 23:08:20
Done.
| |
15 | |
14 class GURL; | 16 class GURL; |
15 class SiteInstance; | 17 class SiteInstance; |
16 | 18 |
17 namespace content { | 19 namespace content { |
18 class BrowserContext; | 20 class BrowserContext; |
19 } | 21 } |
20 | 22 |
21 /////////////////////////////////////////////////////////////////////////////// | 23 /////////////////////////////////////////////////////////////////////////////// |
22 // | 24 // |
23 // BrowsingInstance class | 25 // BrowsingInstance class |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
135 // Global map of BrowserContext to SiteInstanceMap, for process-per-site. | 137 // Global map of BrowserContext to SiteInstanceMap, for process-per-site. |
136 static base::LazyInstance< | 138 static base::LazyInstance< |
137 ContextSiteInstanceMap, | 139 ContextSiteInstanceMap, |
138 base::LeakyLazyInstanceTraits<ContextSiteInstanceMap> > | 140 base::LeakyLazyInstanceTraits<ContextSiteInstanceMap> > |
139 context_site_instance_map_; | 141 context_site_instance_map_; |
140 | 142 |
141 DISALLOW_COPY_AND_ASSIGN(BrowsingInstance); | 143 DISALLOW_COPY_AND_ASSIGN(BrowsingInstance); |
142 }; | 144 }; |
143 | 145 |
144 #endif // CONTENT_BROWSER_BROWSING_INSTANCE_H_ | 146 #endif // CONTENT_BROWSER_BROWSING_INSTANCE_H_ |
OLD | NEW |