Searched refs:BaseSessionService (Results 1 - 10 of 10) sorted by relevance

/external/chromium/chrome/browser/sessions/
H A Dbase_session_service.cc19 BaseSessionService::InternalGetCommandsRequest::~InternalGetCommandsRequest() {
23 // BaseSessionService ---------------------------------------------------------
60 const int BaseSessionService::max_persist_navigation_count = 6;
62 BaseSessionService::BaseSessionService(SessionType type, function in class:BaseSessionService
84 BaseSessionService::~BaseSessionService() {
87 void BaseSessionService::DeleteLastSession() {
96 void BaseSessionService::ScheduleCommand(SessionCommand* command) {
103 void BaseSessionService
[all...]
H A Dsession_backend.h22 // SessionBackend is the backend used by BaseSessionService. It is responsible
30 // BaseSessionService. A command consists of a unique id and a stream of bytes.
32 // BaseSessionService.
49 SessionBackend(BaseSessionService::SessionType type,
69 scoped_refptr<BaseSessionService::InternalGetCommandsRequest> request);
88 scoped_refptr<BaseSessionService::InternalGetCommandsRequest> request);
117 const BaseSessionService::SessionType type_;
H A Dbase_session_service.h26 // BaseSessionService is the super class of both tab restore service and
30 class BaseSessionService : public CancelableRequestProvider, class in inherits:CancelableRequestProvider,base::RefCountedThreadSafe
31 public base::RefCountedThreadSafe<BaseSessionService> {
40 // Creates a new BaseSessionService. After creation you need to invoke
45 BaseSessionService(SessionType type,
79 friend class base::RefCountedThreadSafe<BaseSessionService>;
81 virtual ~BaseSessionService();
90 // in the vector are owned by BaseSessionService, until they are scheduled
178 ScopedRunnableMethodFactory<BaseSessionService> save_factory_;
190 DISALLOW_COPY_AND_ASSIGN(BaseSessionService);
[all...]
H A Dsession_backend.cc54 bool Read(BaseSessionService::SessionType type,
88 bool SessionFileReader::Read(BaseSessionService::SessionType type,
107 if (type == BaseSessionService::TAB_RESTORE) {
198 SessionBackend::SessionBackend(BaseSessionService::SessionType type,
241 scoped_refptr<BaseSessionService::InternalGetCommandsRequest> request) {
247 BaseSessionService::InternalGetCommandsRequest::TupleType(
274 if (type_ == BaseSessionService::TAB_RESTORE) {
294 scoped_refptr<BaseSessionService::InternalGetCommandsRequest> request) {
300 BaseSessionService::InternalGetCommandsRequest::TupleType(
318 if (type_ == BaseSessionService
[all...]
H A Dsession_backend_unittest.cc55 new SessionBackend(BaseSessionService::SESSION_RESTORE, path_));
64 backend = new SessionBackend(BaseSessionService::SESSION_RESTORE, path_);
73 backend = new SessionBackend(BaseSessionService::SESSION_RESTORE, path_);
103 new SessionBackend(BaseSessionService::SESSION_RESTORE, path_));
128 new SessionBackend(BaseSessionService::SESSION_RESTORE, path_));
143 backend = new SessionBackend(BaseSessionService::SESSION_RESTORE, path_);
162 new SessionBackend(BaseSessionService::SESSION_RESTORE, path_));
180 new SessionBackend(BaseSessionService::SESSION_RESTORE, path_));
195 backend = new SessionBackend(BaseSessionService::SESSION_RESTORE, path_);
H A Dsession_types.h81 // by BaseSessionService and SessionService.
86 friend class BaseSessionService;
H A Dtab_restore_service.h37 class TabRestoreService : public BaseSessionService {
H A Dsession_service.cc73 : public BaseSessionService::InternalGetCommandsRequest {
78 : BaseSessionService::InternalGetCommandsRequest(callback),
133 : BaseSessionService(SESSION_RESTORE, profile, FilePath()),
143 : BaseSessionService(SESSION_RESTORE, NULL, save_path),
430 BaseSessionService::InternalGetCommandsRequest::TupleType(
444 BaseSessionService::Save();
1237 BaseSessionService::ScheduleCommand(command);
H A Dsession_service.h50 class SessionService : public BaseSessionService,
175 // Overridden from BaseSessionService because we want some UMA reporting on
H A Dtab_restore_service.cc187 : BaseSessionService(BaseSessionService::TAB_RESTORE, profile,
474 BaseSessionService::Save();

Completed in 431 milliseconds