Searched refs:SessionBackend (Results 1 – 9 of 9) sorted by relevance
/external/chromium/chrome/browser/sessions/ |
D | session_backend_unittest.cc | 54 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 …]
|
D | session_backend.cc | 45 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 …]
|
D | session_backend.h | 33 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);
|
D | base_session_service.cc | 75 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()
|
D | base_session_service.h | 18 class SessionBackend; variable 84 SessionBackend* backend() const { return backend_; } in backend() 172 scoped_refptr<SessionBackend> backend_;
|
D | session_service_test_helper.h | 14 class SessionBackend; variable 68 SessionBackend* backend();
|
D | session_service_test_helper.cc | 95 SessionBackend* SessionServiceTestHelper::backend() { in backend()
|
D | session_service_unittest.cc | 128 SessionBackend* backend() { return helper_.backend(); } in backend()
|
D | session_service.cc | 175 backend(), &SessionBackend::MoveCurrentSessionToLastSession)); in MoveCurrentSessionToLastSession()
|