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

Side by Side Diff: components/sessions/core/session_backend.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 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 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_SESSION_BACKEND_H_ 5 #ifndef COMPONENTS_SESSIONS_CORE_SESSION_BACKEND_H_
6 #define COMPONENTS_SESSIONS_SESSION_BACKEND_H_ 6 #define COMPONENTS_SESSIONS_CORE_SESSION_BACKEND_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 #include "base/task/cancelable_task_tracker.h" 12 #include "base/task/cancelable_task_tracker.h"
13 #include "components/sessions/base_session_service.h" 13 #include "components/sessions/core/base_session_service.h"
14 #include "components/sessions/session_command.h" 14 #include "components/sessions/core/session_command.h"
15 #include "components/sessions/sessions_export.h" 15 #include "components/sessions/core/sessions_export.h"
16 16
17 namespace base { 17 namespace base {
18 class File; 18 class File;
19 } 19 }
20 20
21 namespace sessions { 21 namespace sessions {
22 // SessionBackend ------------------------------------------------------------- 22 // SessionBackend -------------------------------------------------------------
23 23
24 // SessionBackend is the backend used by BaseSessionService. It is responsible 24 // SessionBackend is the backend used by BaseSessionService. It is responsible
25 // for maintaining two files: 25 // for maintaining two files:
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 bool inited_; 135 bool inited_;
136 136
137 // If true, the file is empty (no commands have been added to it). 137 // If true, the file is empty (no commands have been added to it).
138 bool empty_file_; 138 bool empty_file_;
139 139
140 DISALLOW_COPY_AND_ASSIGN(SessionBackend); 140 DISALLOW_COPY_AND_ASSIGN(SessionBackend);
141 }; 141 };
142 142
143 } // namespace sessions 143 } // namespace sessions
144 144
145 #endif // COMPONENTS_SESSIONS_SESSION_BACKEND_H_ 145 #endif // COMPONENTS_SESSIONS_CORE_SESSION_BACKEND_H_
OLDNEW
« no previous file with comments | « components/sessions/core/serialized_navigation_entry_unittest.cc ('k') | components/sessions/core/session_backend.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698