| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 #include "chrome/browser/sessions/session_types.h" | 5 #include "chrome/browser/sessions/session_types.h" |
| 6 | 6 |
| 7 #include "base/string_util.h" | 7 #include "base/string_util.h" |
| 8 #include "chrome/browser/browser.h" | |
| 9 #include "chrome/browser/tab_contents/navigation_controller.h" | 8 #include "chrome/browser/tab_contents/navigation_controller.h" |
| 10 #include "chrome/browser/tab_contents/navigation_entry.h" | 9 #include "chrome/browser/tab_contents/navigation_entry.h" |
| 10 #include "chrome/browser/ui/browser.h" |
| 11 | 11 |
| 12 // TabNavigation -------------------------------------------------------------- | 12 // TabNavigation -------------------------------------------------------------- |
| 13 | 13 |
| 14 TabNavigation::TabNavigation() | 14 TabNavigation::TabNavigation() |
| 15 : transition_(PageTransition::TYPED), | 15 : transition_(PageTransition::TYPED), |
| 16 type_mask_(0), | 16 type_mask_(0), |
| 17 index_(-1) { | 17 index_(-1) { |
| 18 } | 18 } |
| 19 | 19 |
| 20 TabNavigation::TabNavigation(int index, | 20 TabNavigation::TabNavigation(int index, |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 | 110 |
| 111 // ForeignSession -------------------------------------------------------------- | 111 // ForeignSession -------------------------------------------------------------- |
| 112 | 112 |
| 113 ForeignSession::ForeignSession() : foreign_session_tag("invalid") { | 113 ForeignSession::ForeignSession() : foreign_session_tag("invalid") { |
| 114 } | 114 } |
| 115 | 115 |
| 116 ForeignSession::~ForeignSession() { | 116 ForeignSession::~ForeignSession() { |
| 117 STLDeleteElements(&windows); | 117 STLDeleteElements(&windows); |
| 118 } | 118 } |
| 119 | 119 |
| OLD | NEW |