OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 #include "base/containers/hash_tables.h" | 10 #include "base/containers/hash_tables.h" |
9 #include "base/lazy_instance.h" | 11 #include "base/lazy_instance.h" |
10 #include "base/logging.h" | 12 #include "base/logging.h" |
| 13 #include "base/macros.h" |
11 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
12 #include "content/common/content_export.h" | 15 #include "content/common/content_export.h" |
13 #include "content/public/browser/browser_context.h" | 16 #include "content/public/browser/browser_context.h" |
14 | 17 |
15 class GURL; | 18 class GURL; |
16 | 19 |
17 namespace content { | 20 namespace content { |
18 class SiteInstance; | 21 class SiteInstance; |
19 class SiteInstanceImpl; | 22 class SiteInstanceImpl; |
20 | 23 |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 | 119 |
117 // Number of WebContentses currently using this BrowsingInstance. | 120 // Number of WebContentses currently using this BrowsingInstance. |
118 size_t active_contents_count_; | 121 size_t active_contents_count_; |
119 | 122 |
120 DISALLOW_COPY_AND_ASSIGN(BrowsingInstance); | 123 DISALLOW_COPY_AND_ASSIGN(BrowsingInstance); |
121 }; | 124 }; |
122 | 125 |
123 } // namespace content | 126 } // namespace content |
124 | 127 |
125 #endif // CONTENT_BROWSER_BROWSING_INSTANCE_H_ | 128 #endif // CONTENT_BROWSER_BROWSING_INSTANCE_H_ |
OLD | NEW |