| 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_SITE_INSTANCE_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_SITE_INSTANCE_IMPL_H_ |
| 6 #define CONTENT_BROWSER_SITE_INSTANCE_IMPL_H_ | 6 #define CONTENT_BROWSER_SITE_INSTANCE_IMPL_H_ |
| 7 | 7 |
| 8 #include "content/browser/renderer_host/render_process_host_impl.h" | 8 #include "content/browser/renderer_host/render_process_host_impl.h" |
| 9 #include "content/common/content_export.h" | 9 #include "content/common/content_export.h" |
| 10 #include "content/public/browser/notification_observer.h" | 10 #include "content/public/browser/notification_observer.h" |
| 11 #include "content/public/browser/notification_registrar.h" | 11 #include "content/public/browser/notification_registrar.h" |
| 12 #include "content/public/browser/site_instance.h" | 12 #include "content/public/browser/site_instance.h" |
| 13 #include "googleurl/src/gurl.h" | 13 #include "url/gurl.h" |
| 14 | 14 |
| 15 namespace content { | 15 namespace content { |
| 16 class RenderProcessHostFactory; | 16 class RenderProcessHostFactory; |
| 17 | 17 |
| 18 class CONTENT_EXPORT SiteInstanceImpl : public SiteInstance, | 18 class CONTENT_EXPORT SiteInstanceImpl : public SiteInstance, |
| 19 public NotificationObserver { | 19 public NotificationObserver { |
| 20 public: | 20 public: |
| 21 // SiteInstance interface overrides. | 21 // SiteInstance interface overrides. |
| 22 virtual int32 GetId() OVERRIDE; | 22 virtual int32 GetId() OVERRIDE; |
| 23 virtual bool HasProcess() const OVERRIDE; | 23 virtual bool HasProcess() const OVERRIDE; |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 | 105 |
| 106 // Whether SetSite has been called. | 106 // Whether SetSite has been called. |
| 107 bool has_site_; | 107 bool has_site_; |
| 108 | 108 |
| 109 DISALLOW_COPY_AND_ASSIGN(SiteInstanceImpl); | 109 DISALLOW_COPY_AND_ASSIGN(SiteInstanceImpl); |
| 110 }; | 110 }; |
| 111 | 111 |
| 112 } // namespace content | 112 } // namespace content |
| 113 | 113 |
| 114 #endif // CONTENT_BROWSER_SITE_INSTANCE_IMPL_H_ | 114 #endif // CONTENT_BROWSER_SITE_INSTANCE_IMPL_H_ |
| OLD | NEW |