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 #include "components/sessions/core/tab_restore_service.h" | 5 #include "components/sessions/core/tab_restore_service.h" |
6 | 6 |
| 7 namespace sessions { |
| 8 |
7 // TimeFactory----------------------------------------------------------------- | 9 // TimeFactory----------------------------------------------------------------- |
8 | 10 |
9 TabRestoreService::TimeFactory::~TimeFactory() {} | 11 TabRestoreService::TimeFactory::~TimeFactory() {} |
10 | 12 |
11 // Entry ---------------------------------------------------------------------- | 13 // Entry ---------------------------------------------------------------------- |
12 | 14 |
13 // ID of the next Entry. | 15 // ID of the next Entry. |
14 static SessionID::id_type next_entry_id = 1; | 16 static SessionID::id_type next_entry_id = 1; |
15 | 17 |
16 TabRestoreService::Entry::Entry() | 18 TabRestoreService::Entry::Entry() |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 TabRestoreService::Window::Window() : Entry(WINDOW), selected_tab_index(-1) { | 74 TabRestoreService::Window::Window() : Entry(WINDOW), selected_tab_index(-1) { |
73 } | 75 } |
74 | 76 |
75 TabRestoreService::Window::~Window() { | 77 TabRestoreService::Window::~Window() { |
76 } | 78 } |
77 | 79 |
78 // TabRestoreService ---------------------------------------------------------- | 80 // TabRestoreService ---------------------------------------------------------- |
79 | 81 |
80 TabRestoreService::~TabRestoreService() { | 82 TabRestoreService::~TabRestoreService() { |
81 } | 83 } |
| 84 |
| 85 } // namespace sessions |
OLD | NEW |