/external/chromium/chrome/browser/sessions/ |
D | base_session_service.cc | 19 BaseSessionService::InternalGetCommandsRequest::~InternalGetCommandsRequest() { in ~InternalGetCommandsRequest() 60 const int BaseSessionService::max_persist_navigation_count = 6; 62 BaseSessionService::BaseSessionService(SessionType type, in BaseSessionService() function in BaseSessionService 84 BaseSessionService::~BaseSessionService() { in ~BaseSessionService() 87 void BaseSessionService::DeleteLastSession() { in DeleteLastSession() 96 void BaseSessionService::ScheduleCommand(SessionCommand* command) { in ScheduleCommand() 103 void BaseSessionService::StartSaveTimer() { in StartSaveTimer() 108 save_factory_.NewRunnableMethod(&BaseSessionService::Save), in StartSaveTimer() 113 void BaseSessionService::Save() { in Save() 137 SessionCommand* BaseSessionService::CreateUpdateTabNavigationCommand( in CreateUpdateTabNavigationCommand() [all …]
|
D | base_session_service.h | 30 class BaseSessionService : public CancelableRequestProvider, 31 public base::RefCountedThreadSafe<BaseSessionService> { 45 BaseSessionService(SessionType type, 79 friend class base::RefCountedThreadSafe<BaseSessionService>; 81 virtual ~BaseSessionService(); 178 ScopedRunnableMethodFactory<BaseSessionService> save_factory_; 190 DISALLOW_COPY_AND_ASSIGN(BaseSessionService);
|
D | session_backend.cc | 54 bool Read(BaseSessionService::SessionType type, 88 bool SessionFileReader::Read(BaseSessionService::SessionType type, in Read() 107 if (type == BaseSessionService::TAB_RESTORE) { in Read() 198 SessionBackend::SessionBackend(BaseSessionService::SessionType type, in SessionBackend() 241 scoped_refptr<BaseSessionService::InternalGetCommandsRequest> request) { in ReadLastSessionCommands() 247 BaseSessionService::InternalGetCommandsRequest::TupleType( in ReadLastSessionCommands() 274 if (type_ == BaseSessionService::TAB_RESTORE) { in MoveCurrentSessionToLastSession() 294 scoped_refptr<BaseSessionService::InternalGetCommandsRequest> request) { in ReadCurrentSessionCommands() 300 BaseSessionService::InternalGetCommandsRequest::TupleType( in ReadCurrentSessionCommands() 318 if (type_ == BaseSessionService::TAB_RESTORE) in AppendCommandsToFile() [all …]
|
D | session_backend_unittest.cc | 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() 103 new SessionBackend(BaseSessionService::SESSION_RESTORE, path_)); in TEST_F() 128 new SessionBackend(BaseSessionService::SESSION_RESTORE, path_)); in TEST_F() 143 backend = new SessionBackend(BaseSessionService::SESSION_RESTORE, path_); in TEST_F() 162 new SessionBackend(BaseSessionService::SESSION_RESTORE, path_)); in TEST_F() 180 new SessionBackend(BaseSessionService::SESSION_RESTORE, path_)); in TEST_F() 195 backend = new SessionBackend(BaseSessionService::SESSION_RESTORE, path_); in TEST_F()
|
D | session_backend.h | 49 SessionBackend(BaseSessionService::SessionType type, 69 scoped_refptr<BaseSessionService::InternalGetCommandsRequest> request); 88 scoped_refptr<BaseSessionService::InternalGetCommandsRequest> request); 117 const BaseSessionService::SessionType type_;
|
D | session_types.h | 86 friend class BaseSessionService;
|
D | session_service.cc | 73 : public BaseSessionService::InternalGetCommandsRequest { 78 : BaseSessionService::InternalGetCommandsRequest(callback), in InternalSessionRequest() 133 : BaseSessionService(SESSION_RESTORE, profile, FilePath()), in SessionService() 143 : BaseSessionService(SESSION_RESTORE, NULL, save_path), in SessionService() 430 BaseSessionService::InternalGetCommandsRequest::TupleType( in GetCurrentSession() 444 BaseSessionService::Save(); in Save() 1237 BaseSessionService::ScheduleCommand(command); in ScheduleCommand()
|
D | tab_restore_service.h | 37 class TabRestoreService : public BaseSessionService {
|
D | tab_restore_service.cc | 187 : BaseSessionService(BaseSessionService::TAB_RESTORE, profile, in TabRestoreService() 474 BaseSessionService::Save(); in Save()
|
D | session_service.h | 50 class SessionService : public BaseSessionService,
|
/external/chromium_org/chrome/browser/sessions/ |
D | base_session_service.cc | 47 const BaseSessionService::InternalGetCommandsCallback& callback, in RunIfNotCanceled() 56 const BaseSessionService::InternalGetCommandsCallback& callback, in PostOrRunInternalGetCommandsCallback() 73 const int BaseSessionService::max_persist_navigation_count = 6; 75 BaseSessionService::BaseSessionService(SessionType type, in BaseSessionService() function in BaseSessionService 92 BaseSessionService::~BaseSessionService() { in ~BaseSessionService() 95 void BaseSessionService::DeleteLastSession() { in DeleteLastSession() 101 void BaseSessionService::ScheduleCommand(SessionCommand* command) { in ScheduleCommand() 108 void BaseSessionService::StartSaveTimer() { in StartSaveTimer() 115 base::Bind(&BaseSessionService::Save, weak_factory_.GetWeakPtr()), in StartSaveTimer() 120 void BaseSessionService::Save() { in Save() [all …]
|
D | session_backend_unittest.cc | 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() 103 new SessionBackend(BaseSessionService::SESSION_RESTORE, path_)); in TEST_F() 128 new SessionBackend(BaseSessionService::SESSION_RESTORE, path_)); in TEST_F() 143 backend = new SessionBackend(BaseSessionService::SESSION_RESTORE, path_); in TEST_F() 162 new SessionBackend(BaseSessionService::SESSION_RESTORE, path_)); in TEST_F() 180 new SessionBackend(BaseSessionService::SESSION_RESTORE, path_)); in TEST_F() 195 backend = new SessionBackend(BaseSessionService::SESSION_RESTORE, path_); in TEST_F()
|
D | base_session_service.h | 34 class BaseSessionService : public CancelableRequestProvider { 48 BaseSessionService(SessionType type, 61 virtual ~BaseSessionService(); 176 base::WeakPtrFactory<BaseSessionService> weak_factory_; 191 DISALLOW_COPY_AND_ASSIGN(BaseSessionService);
|
D | session_backend.cc | 57 bool Read(BaseSessionService::SessionType type, 91 bool SessionFileReader::Read(BaseSessionService::SessionType type, in Read() 110 if (type == BaseSessionService::TAB_RESTORE) { in Read() 204 SessionBackend::SessionBackend(BaseSessionService::SessionType type, in SessionBackend() 248 const BaseSessionService::InternalGetCommandsCallback& callback) { in ReadLastSessionCommands() 282 if (type_ == BaseSessionService::TAB_RESTORE) { in MoveCurrentSessionToLastSession() 314 if (type_ == BaseSessionService::TAB_RESTORE) in AppendCommandsToFile() 393 if (type_ == BaseSessionService::TAB_RESTORE) in GetLastSessionPath() 402 if (type_ == BaseSessionService::TAB_RESTORE) in GetCurrentSessionPath()
|
D | session_backend.h | 49 SessionBackend(BaseSessionService::SessionType type, 71 const BaseSessionService::InternalGetCommandsCallback& callback); 114 const BaseSessionService::SessionType type_;
|
D | persistent_tab_restore_service.cc | 118 : public BaseSessionService, 240 : BaseSessionService(BaseSessionService::TAB_RESTORE, profile, in Delegate() 281 BaseSessionService::Save(); in Save()
|
D | session_service.h | 57 class SessionService : public BaseSessionService,
|
D | session_service.cc | 187 : BaseSessionService(SESSION_RESTORE, profile, base::FilePath()), in SessionService() 198 : BaseSessionService(SESSION_RESTORE, NULL, save_path), in SessionService() 513 BaseSessionService::Save(); in Save() 1480 BaseSessionService::ScheduleCommand(command); in ScheduleCommand()
|