| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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_RENDERER_HOST_SITE_INSTANCE_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_SITE_INSTANCE_H_ |
| 6 #define CHROME_BROWSER_RENDERER_HOST_SITE_INSTANCE_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_SITE_INSTANCE_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "chrome/browser/renderer_host/render_process_host.h" | |
| 10 #include "chrome/common/notification_observer.h" | 9 #include "chrome/common/notification_observer.h" |
| 11 #include "chrome/common/notification_registrar.h" | 10 #include "chrome/common/notification_registrar.h" |
| 11 #include "content/browser/renderer_host/render_process_host.h" |
| 12 #include "googleurl/src/gurl.h" | 12 #include "googleurl/src/gurl.h" |
| 13 | 13 |
| 14 class BrowsingInstance; | 14 class BrowsingInstance; |
| 15 | 15 |
| 16 /////////////////////////////////////////////////////////////////////////////// | 16 /////////////////////////////////////////////////////////////////////////////// |
| 17 // | 17 // |
| 18 // SiteInstance class | 18 // SiteInstance class |
| 19 // | 19 // |
| 20 // A SiteInstance is a data structure that is associated with all pages in a | 20 // A SiteInstance is a data structure that is associated with all pages in a |
| 21 // given instance of a web site. Here, a web site is identified by its | 21 // given instance of a web site. Here, a web site is identified by its |
| (...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 187 | 187 |
| 188 // The web site that this SiteInstance is rendering pages for. | 188 // The web site that this SiteInstance is rendering pages for. |
| 189 GURL site_; | 189 GURL site_; |
| 190 | 190 |
| 191 // Whether SetSite has been called. | 191 // Whether SetSite has been called. |
| 192 bool has_site_; | 192 bool has_site_; |
| 193 | 193 |
| 194 DISALLOW_COPY_AND_ASSIGN(SiteInstance); | 194 DISALLOW_COPY_AND_ASSIGN(SiteInstance); |
| 195 }; | 195 }; |
| 196 | 196 |
| 197 #endif // CHROME_BROWSER_RENDERER_HOST_SITE_INSTANCE_H_ | 197 #endif // CONTENT_BROWSER_RENDERER_HOST_SITE_INSTANCE_H_ |
| OLD | NEW |