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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 SessionWindow::SessionWindow() | 44 SessionWindow::SessionWindow() |
45 : selected_tab_index(-1), | 45 : selected_tab_index(-1), |
46 type(Browser::TYPE_NORMAL), | 46 type(Browser::TYPE_NORMAL), |
47 is_constrained(true), | 47 is_constrained(true), |
48 is_maximized(false) { | 48 is_maximized(false) { |
49 } | 49 } |
50 | 50 |
51 SessionWindow::~SessionWindow() { | 51 SessionWindow::~SessionWindow() { |
52 STLDeleteElements(&tabs); | 52 STLDeleteElements(&tabs); |
53 } | 53 } |
| 54 |
| 55 // ForeignSession -------------------------------------------------------------- |
| 56 |
| 57 ForeignSession::ForeignSession() : foreign_tession_tag("invalid") { |
| 58 } |
| 59 |
| 60 ForeignSession::~ForeignSession() { |
| 61 STLDeleteElements(&windows); |
| 62 } |
| 63 |
OLD | NEW |