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" | 8 #include "chrome/browser/browser.h" |
9 #include "chrome/browser/tab_contents/navigation_controller.h" | 9 #include "chrome/browser/tab_contents/navigation_controller.h" |
10 #include "chrome/browser/tab_contents/navigation_entry.h" | 10 #include "chrome/browser/tab_contents/navigation_entry.h" |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 is_constrained(true), | 103 is_constrained(true), |
104 is_maximized(false) { | 104 is_maximized(false) { |
105 } | 105 } |
106 | 106 |
107 SessionWindow::~SessionWindow() { | 107 SessionWindow::~SessionWindow() { |
108 STLDeleteElements(&tabs); | 108 STLDeleteElements(&tabs); |
109 } | 109 } |
110 | 110 |
111 // ForeignSession -------------------------------------------------------------- | 111 // ForeignSession -------------------------------------------------------------- |
112 | 112 |
113 ForeignSession::ForeignSession() : foreign_tession_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 |