| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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/persistent_tab_restore_service.h" | 5 #include "components/sessions/core/persistent_tab_restore_service.h" |
| 6 | 6 |
| 7 #include <stddef.h> | 7 #include <stddef.h> |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 #include <string.h> | 9 #include <string.h> |
| 10 #include <utility> | 10 #include <utility> |
| (...skipping 932 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 943 } | 943 } |
| 944 | 944 |
| 945 bool PersistentTabRestoreService::IsLoaded() const { | 945 bool PersistentTabRestoreService::IsLoaded() const { |
| 946 return delegate_->IsLoaded(); | 946 return delegate_->IsLoaded(); |
| 947 } | 947 } |
| 948 | 948 |
| 949 void PersistentTabRestoreService::DeleteLastSession() { | 949 void PersistentTabRestoreService::DeleteLastSession() { |
| 950 return delegate_->DeleteLastSession(); | 950 return delegate_->DeleteLastSession(); |
| 951 } | 951 } |
| 952 | 952 |
| 953 bool PersistentTabRestoreService::IsRestoring() const { |
| 954 return helper_.IsRestoring(); |
| 955 } |
| 956 |
| 953 void PersistentTabRestoreService::Shutdown() { | 957 void PersistentTabRestoreService::Shutdown() { |
| 954 return delegate_->Shutdown(); | 958 return delegate_->Shutdown(); |
| 955 } | 959 } |
| 956 | 960 |
| 957 void PersistentTabRestoreService::LoadTabsFromLastSession() { | 961 void PersistentTabRestoreService::LoadTabsFromLastSession() { |
| 958 delegate_->LoadTabsFromLastSession(); | 962 delegate_->LoadTabsFromLastSession(); |
| 959 } | 963 } |
| 960 | 964 |
| 961 TabRestoreService::Entries* PersistentTabRestoreService::mutable_entries() { | 965 TabRestoreService::Entries* PersistentTabRestoreService::mutable_entries() { |
| 962 return &helper_.entries_; | 966 return &helper_.entries_; |
| 963 } | 967 } |
| 964 | 968 |
| 965 void PersistentTabRestoreService::PruneEntries() { | 969 void PersistentTabRestoreService::PruneEntries() { |
| 966 helper_.PruneEntries(); | 970 helper_.PruneEntries(); |
| 967 } | 971 } |
| 968 | 972 |
| 969 } // namespace sessions | 973 } // namespace sessions |
| OLD | NEW |