OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/profiles/profile.h" |
8 #include "chrome/browser/ui/browser.h" | 9 #include "chrome/browser/ui/browser.h" |
9 #include "content/browser/tab_contents/navigation_controller.h" | 10 #include "content/browser/tab_contents/navigation_controller.h" |
10 #include "content/browser/tab_contents/navigation_entry.h" | 11 #include "content/browser/tab_contents/navigation_entry.h" |
11 | 12 |
12 // TabNavigation -------------------------------------------------------------- | 13 // TabNavigation -------------------------------------------------------------- |
13 | 14 |
14 TabNavigation::TabNavigation() | 15 TabNavigation::TabNavigation() |
15 : transition_(PageTransition::TYPED), | 16 : transition_(PageTransition::TYPED), |
16 type_mask_(0), | 17 type_mask_(0), |
17 index_(-1) { | 18 index_(-1) { |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 | 123 |
123 // SyncedSession -------------------------------------------------------------- | 124 // SyncedSession -------------------------------------------------------------- |
124 | 125 |
125 SyncedSession::SyncedSession() : session_tag("invalid") { | 126 SyncedSession::SyncedSession() : session_tag("invalid") { |
126 } | 127 } |
127 | 128 |
128 SyncedSession::~SyncedSession() { | 129 SyncedSession::~SyncedSession() { |
129 STLDeleteElements(&windows); | 130 STLDeleteElements(&windows); |
130 } | 131 } |
131 | 132 |
OLD | NEW |