diff options
Diffstat (limited to 'chrome/common/temp_scaffolding_stubs.h')
-rw-r--r-- | chrome/common/temp_scaffolding_stubs.h | 81 |
1 files changed, 0 insertions, 81 deletions
diff --git a/chrome/common/temp_scaffolding_stubs.h b/chrome/common/temp_scaffolding_stubs.h index 27cfc32..d49aa50 100644 --- a/chrome/common/temp_scaffolding_stubs.h +++ b/chrome/common/temp_scaffolding_stubs.h @@ -180,87 +180,6 @@ class UserDataManager { static UserDataManager* instance_; }; -class BaseSessionService : public CancelableRequestProvider, - public base::RefCountedThreadSafe<BaseSessionService> { - public: - enum SessionType { - SESSION_RESTORE, - TAB_RESTORE - }; - BaseSessionService() { NOTIMPLEMENTED(); } - BaseSessionService(SessionType type, - Profile* profile, - const FilePath& path) { - NOTIMPLEMENTED(); - } - Profile* profile() const { NOTIMPLEMENTED(); return NULL; } - void DeleteLastSession() { NOTIMPLEMENTED(); } - class InternalGetCommandsRequest; - typedef Callback2<Handle, scoped_refptr<InternalGetCommandsRequest> >::Type - InternalGetCommandsCallback; - class InternalGetCommandsRequest : - public CancelableRequest<InternalGetCommandsCallback> { - public: - explicit InternalGetCommandsRequest(CallbackType* callback) - : CancelableRequest<InternalGetCommandsCallback>(callback) { - } - virtual ~InternalGetCommandsRequest() { } - std::vector<SessionCommand*> commands; - private: - DISALLOW_COPY_AND_ASSIGN(InternalGetCommandsRequest); - }; - protected: - SessionBackend* backend() const { - NOTIMPLEMENTED(); - return NULL; - } - base::Thread* backend_thread() const { - NOTIMPLEMENTED(); - return NULL; - } - std::vector<SessionCommand*>& pending_commands() { - NOTIMPLEMENTED(); - return pending_commands_; - } - void set_pending_reset(bool value) { NOTIMPLEMENTED(); } - bool pending_reset() const { NOTIMPLEMENTED(); return false; } - int commands_since_reset() const { NOTIMPLEMENTED(); return 0; } - virtual void ScheduleCommand(SessionCommand* command) { NOTIMPLEMENTED(); } - void StartSaveTimer() { NOTIMPLEMENTED(); } - virtual void Save() { NOTIMPLEMENTED(); } - SessionCommand* CreateUpdateTabNavigationCommand( - SessionID::id_type command_id, - SessionID::id_type tab_id, - int index, - const NavigationEntry& entry) { - NOTIMPLEMENTED(); - return NULL; - } - bool RestoreUpdateTabNavigationCommand(const SessionCommand& command, - TabNavigation* navigation, - SessionID::id_type* tab_id) { - NOTIMPLEMENTED(); - return false; - } - bool ShouldTrackEntry(const NavigationEntry& entry) { - NOTIMPLEMENTED(); - return false; - } - bool ShouldTrackEntry(const TabNavigation& navigation) { - NOTIMPLEMENTED(); - return false; - } - Handle ScheduleGetLastSessionCommands( - InternalGetCommandsRequest* request, - CancelableRequestConsumerBase* consumer) { - NOTIMPLEMENTED(); - return 0; - } - static const int max_persist_navigation_count = 6; - private: - std::vector<SessionCommand*> pending_commands_; -}; - namespace browser { void RegisterAllPrefs(PrefService*, PrefService*); } |