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

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

Issue 2511973004: components: Cleanup class/struct fwd declarations (Closed)
Patch Set: Rebase on top of current master branch Created 4 years 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/scoped_vector.h" 13 #include "base/memory/scoped_vector.h"
14 #include "base/memory/weak_ptr.h" 14 #include "base/memory/weak_ptr.h"
15 #include "base/task/cancelable_task_tracker.h" 15 #include "base/task/cancelable_task_tracker.h"
16 #include "components/sessions/core/sessions_export.h" 16 #include "components/sessions/core/sessions_export.h"
17 #include "url/gurl.h" 17 #include "url/gurl.h"
18 18
19 19
20 namespace sessions { 20 namespace sessions {
21 class BaseSessionServiceDelegate; 21 class BaseSessionServiceDelegate;
22 class SerializedNavigationEntry;
23 class SessionCommand; 22 class SessionCommand;
24 class SessionBackend; 23 class SessionBackend;
25 24
26 // BaseSessionService is the super class of both tab restore service and 25 // BaseSessionService is the super class of both tab restore service and
27 // session service. It contains commonality needed by both, in particular 26 // session service. It contains commonality needed by both, in particular
28 // it manages a set of SessionCommands that are periodically sent to a 27 // it manages a set of SessionCommands that are periodically sent to a
29 // SessionBackend. 28 // SessionBackend.
30 class SESSIONS_EXPORT BaseSessionService { 29 class SESSIONS_EXPORT BaseSessionService {
31 public: 30 public:
32 // Identifies the type of session service this is. This is used by the 31 // Identifies the type of session service this is. This is used by the
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 128
130 // Used to invoke Save. 129 // Used to invoke Save.
131 base::WeakPtrFactory<BaseSessionService> weak_factory_; 130 base::WeakPtrFactory<BaseSessionService> weak_factory_;
132 131
133 DISALLOW_COPY_AND_ASSIGN(BaseSessionService); 132 DISALLOW_COPY_AND_ASSIGN(BaseSessionService);
134 }; 133 };
135 134
136 } // namespace sessions 135 } // namespace sessions
137 136
138 #endif // COMPONENTS_SESSIONS_CORE_BASE_SESSION_SERVICE_H_ 137 #endif // COMPONENTS_SESSIONS_CORE_BASE_SESSION_SERVICE_H_
OLDNEW
« no previous file with comments | « components/sessions/content/content_live_tab.h ('k') | components/sessions/core/session_types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698