Home
last modified time | relevance | path

Searched refs:SessionBackend (Results 1 – 9 of 9) sorted by relevance

/external/chromium/chrome/browser/sessions/
Dsession_backend_unittest.cc54 scoped_refptr<SessionBackend> backend( in TEST_F()
55 new SessionBackend(BaseSessionService::SESSION_RESTORE, path_)); in TEST_F()
64 backend = new SessionBackend(BaseSessionService::SESSION_RESTORE, path_); in TEST_F()
73 backend = new SessionBackend(BaseSessionService::SESSION_RESTORE, path_); in TEST_F()
102 scoped_refptr<SessionBackend> backend( in TEST_F()
103 new SessionBackend(BaseSessionService::SESSION_RESTORE, path_)); in TEST_F()
127 scoped_refptr<SessionBackend> backend( in TEST_F()
128 new SessionBackend(BaseSessionService::SESSION_RESTORE, path_)); in TEST_F()
132 SessionBackend::kFileReadBufferSize + 100; in TEST_F()
143 backend = new SessionBackend(BaseSessionService::SESSION_RESTORE, path_); in TEST_F()
[all …]
Dsession_backend.cc45 buffer_(SessionBackend::kFileReadBufferSize, 0), in SessionFileReader()
196 const int SessionBackend::kFileReadBufferSize = 1024;
198 SessionBackend::SessionBackend(BaseSessionService::SessionType type, in SessionBackend() function in SessionBackend
208 void SessionBackend::Init() { in Init()
220 void SessionBackend::AppendCommands( in AppendCommands()
240 void SessionBackend::ReadLastSessionCommands( in ReadLastSessionCommands()
251 bool SessionBackend::ReadLastSessionCommandsImpl( in ReadLastSessionCommandsImpl()
258 void SessionBackend::DeleteLastSession() { in DeleteLastSession()
263 void SessionBackend::MoveCurrentSessionToLastSession() { in MoveCurrentSessionToLastSession()
293 void SessionBackend::ReadCurrentSessionCommands( in ReadCurrentSessionCommands()
[all …]
Dsession_backend.h33 class SessionBackend : public base::RefCountedThreadSafe<SessionBackend> {
49 SessionBackend(BaseSessionService::SessionType type,
97 friend class base::RefCountedThreadSafe<SessionBackend>;
99 ~SessionBackend();
141 DISALLOW_COPY_AND_ASSIGN(SessionBackend);
Dbase_session_service.cc75 backend_ = new SessionBackend(type, in BaseSessionService()
92 backend(), &SessionBackend::DeleteLastSession)); in DeleteLastSession()
124 backend(), &SessionBackend::AppendCommands, in Save()
264 backend(), &SessionBackend::ReadLastSessionCommands, request_wrapper)); in ScheduleGetLastSessionCommands()
280 &SessionBackend::ReadCurrentSessionCommands, in ScheduleGetCurrentSessionCommands()
Dbase_session_service.h18 class SessionBackend; variable
84 SessionBackend* backend() const { return backend_; } in backend()
172 scoped_refptr<SessionBackend> backend_;
Dsession_service_test_helper.h14 class SessionBackend; variable
68 SessionBackend* backend();
Dsession_service_test_helper.cc95 SessionBackend* SessionServiceTestHelper::backend() { in backend()
Dsession_service_unittest.cc128 SessionBackend* backend() { return helper_.backend(); } in backend()
Dsession_service.cc175 backend(), &SessionBackend::MoveCurrentSessionToLastSession)); in MoveCurrentSessionToLastSession()