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

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

Issue 2691263002: Revert of Remove header dependencies from sequence_checker.h to sequenced_worker_pool.h (Closed)
Patch Set: Created 3 years, 10 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 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 #ifndef COMPONENTS_SESSIONS_CORE_BASE_SESSION_SERVICE_H_ 5 #ifndef COMPONENTS_SESSIONS_CORE_BASE_SESSION_SERVICE_H_
6 #define COMPONENTS_SESSIONS_CORE_BASE_SESSION_SERVICE_H_ 6 #define COMPONENTS_SESSIONS_CORE_BASE_SESSION_SERVICE_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
11 #include "base/files/file_path.h" 11 #include "base/files/file_path.h"
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "base/memory/weak_ptr.h" 13 #include "base/memory/weak_ptr.h"
14 #include "base/task/cancelable_task_tracker.h" 14 #include "base/task/cancelable_task_tracker.h"
15 #include "base/threading/sequenced_worker_pool.h"
16 #include "components/sessions/core/sessions_export.h" 15 #include "components/sessions/core/sessions_export.h"
17 #include "url/gurl.h" 16 #include "url/gurl.h"
18 17
18
19 namespace sessions { 19 namespace sessions {
20 class BaseSessionServiceDelegate; 20 class BaseSessionServiceDelegate;
21 class SessionCommand; 21 class SessionCommand;
22 class SessionBackend; 22 class SessionBackend;
23 23
24 // BaseSessionService is the super class of both tab restore service and 24 // BaseSessionService is the super class of both tab restore service and
25 // session service. It contains commonality needed by both, in particular 25 // session service. It contains commonality needed by both, in particular
26 // it manages a set of SessionCommands that are periodically sent to a 26 // it manages a set of SessionCommands that are periodically sent to a
27 // SessionBackend. 27 // SessionBackend.
28 class SESSIONS_EXPORT BaseSessionService { 28 class SESSIONS_EXPORT BaseSessionService {
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 127
128 // Used to invoke Save. 128 // Used to invoke Save.
129 base::WeakPtrFactory<BaseSessionService> weak_factory_; 129 base::WeakPtrFactory<BaseSessionService> weak_factory_;
130 130
131 DISALLOW_COPY_AND_ASSIGN(BaseSessionService); 131 DISALLOW_COPY_AND_ASSIGN(BaseSessionService);
132 }; 132 };
133 133
134 } // namespace sessions 134 } // namespace sessions
135 135
136 #endif // COMPONENTS_SESSIONS_CORE_BASE_SESSION_SERVICE_H_ 136 #endif // COMPONENTS_SESSIONS_CORE_BASE_SESSION_SERVICE_H_
OLDNEW
« no previous file with comments | « components/safe_browsing_db/v4_local_database_manager.cc ('k') | components/storage_monitor/test_volume_mount_watcher_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698