| 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_TAB_CONTENTS_NAVIGATION_ENTRY_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_TAB_CONTENTS_NAVIGATION_ENTRY_IMPL_H_ |
| 6 #define CONTENT_BROWSER_TAB_CONTENTS_NAVIGATION_ENTRY_IMPL_H_ | 6 #define CONTENT_BROWSER_TAB_CONTENTS_NAVIGATION_ENTRY_IMPL_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
| 10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
| 11 #include "content/browser/site_instance_impl.h" | 11 #include "content/browser/site_instance_impl.h" |
| 12 #include "content/public/browser/favicon_status.h" | 12 #include "content/public/browser/favicon_status.h" |
| 13 #include "content/public/browser/global_request_id.h" | 13 #include "content/public/browser/global_request_id.h" |
| 14 #include "content/public/browser/navigation_entry.h" | 14 #include "content/public/browser/navigation_entry.h" |
| 15 #include "content/public/browser/ssl_status.h" | 15 #include "content/public/common/ssl_status.h" |
| 16 | 16 |
| 17 namespace content { | 17 namespace content { |
| 18 | 18 |
| 19 class CONTENT_EXPORT NavigationEntryImpl | 19 class CONTENT_EXPORT NavigationEntryImpl |
| 20 : public NON_EXPORTED_BASE(NavigationEntry) { | 20 : public NON_EXPORTED_BASE(NavigationEntry) { |
| 21 public: | 21 public: |
| 22 static NavigationEntryImpl* FromNavigationEntry(NavigationEntry* entry); | 22 static NavigationEntryImpl* FromNavigationEntry(NavigationEntry* entry); |
| 23 | 23 |
| 24 NavigationEntryImpl(); | 24 NavigationEntryImpl(); |
| 25 NavigationEntryImpl(SiteInstanceImpl* instance, | 25 NavigationEntryImpl(SiteInstanceImpl* instance, |
| (...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 208 // instance, instead of a new navigation. This value should not be persisted | 208 // instance, instead of a new navigation. This value should not be persisted |
| 209 // and is not needed after the entry commits. | 209 // and is not needed after the entry commits. |
| 210 bool is_cross_site_reload_; | 210 bool is_cross_site_reload_; |
| 211 | 211 |
| 212 // Copy and assignment is explicitly allowed for this class. | 212 // Copy and assignment is explicitly allowed for this class. |
| 213 }; | 213 }; |
| 214 | 214 |
| 215 } // namespace content | 215 } // namespace content |
| 216 | 216 |
| 217 #endif // CONTENT_BROWSER_TAB_CONTENTS_NAVIGATION_ENTRY_IMPL_H_ | 217 #endif // CONTENT_BROWSER_TAB_CONTENTS_NAVIGATION_ENTRY_IMPL_H_ |
| OLD | NEW |