Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5)

Side by Side Diff: components/sessions/core/persistent_tab_restore_service.h

Issue 1361613002: Move all core files in //components/sessions into core/ subdir (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 #ifndef COMPONENTS_SESSIONS_CORE_PERSISTENT_TAB_RESTORE_SERVICE_H_ 5 #ifndef COMPONENTS_SESSIONS_CORE_PERSISTENT_TAB_RESTORE_SERVICE_H_
6 #define COMPONENTS_SESSIONS_CORE_PERSISTENT_TAB_RESTORE_SERVICE_H_ 6 #define COMPONENTS_SESSIONS_CORE_PERSISTENT_TAB_RESTORE_SERVICE_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
12 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
13 #include "components/sessions/core/sessions_export.h"
13 #include "components/sessions/core/tab_restore_service.h" 14 #include "components/sessions/core/tab_restore_service.h"
14 #include "components/sessions/core/tab_restore_service_client.h" 15 #include "components/sessions/core/tab_restore_service_client.h"
15 #include "components/sessions/core/tab_restore_service_helper.h" 16 #include "components/sessions/core/tab_restore_service_helper.h"
16 #include "components/sessions/sessions_export.h"
17 17
18 class PersistentTabRestoreServiceTest; 18 class PersistentTabRestoreServiceTest;
19 19
20 namespace sessions { 20 namespace sessions {
21 21
22 // Tab restore service that persists data on disk. 22 // Tab restore service that persists data on disk.
23 class SESSIONS_EXPORT PersistentTabRestoreService : public TabRestoreService { 23 class SESSIONS_EXPORT PersistentTabRestoreService : public TabRestoreService {
24 public: 24 public:
25 // Does not take ownership of |time_factory|. 25 // Does not take ownership of |time_factory|.
26 PersistentTabRestoreService(scoped_ptr<TabRestoreServiceClient> client, 26 PersistentTabRestoreService(scoped_ptr<TabRestoreServiceClient> client,
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 scoped_ptr<TabRestoreServiceClient> client_; 62 scoped_ptr<TabRestoreServiceClient> client_;
63 scoped_ptr<Delegate> delegate_; 63 scoped_ptr<Delegate> delegate_;
64 TabRestoreServiceHelper helper_; 64 TabRestoreServiceHelper helper_;
65 65
66 DISALLOW_COPY_AND_ASSIGN(PersistentTabRestoreService); 66 DISALLOW_COPY_AND_ASSIGN(PersistentTabRestoreService);
67 }; 67 };
68 68
69 } // namespace sessions 69 } // namespace sessions
70 70
71 #endif // COMPONENTS_SESSIONS_CORE_PERSISTENT_TAB_RESTORE_SERVICE_H_ 71 #endif // COMPONENTS_SESSIONS_CORE_PERSISTENT_TAB_RESTORE_SERVICE_H_
OLDNEW
« no previous file with comments | « components/sessions/core/live_tab.h ('k') | components/sessions/core/persistent_tab_restore_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698