SessionCommand 48 chrome/browser/sessions/base_session_service.cc ScopedVector<SessionCommand> commands) { SessionCommand 57 chrome/browser/sessions/base_session_service.cc ScopedVector<SessionCommand> commands) { SessionCommand 101 chrome/browser/sessions/base_session_service.cc void BaseSessionService::ScheduleCommand(SessionCommand* command) { SessionCommand 129 chrome/browser/sessions/base_session_service.cc new std::vector<SessionCommand*>(pending_commands_), SessionCommand 141 chrome/browser/sessions/base_session_service.cc SessionCommand* BaseSessionService::CreateUpdateTabNavigationCommand( SessionCommand 151 chrome/browser/sessions/base_session_service.cc std::numeric_limits<SessionCommand::size_type>::max() - 1024; SessionCommand 153 chrome/browser/sessions/base_session_service.cc return new SessionCommand(command_id, pickle); SessionCommand 156 chrome/browser/sessions/base_session_service.cc SessionCommand* BaseSessionService::CreateSetTabExtensionAppIDCommand( SessionCommand 165 chrome/browser/sessions/base_session_service.cc static const SessionCommand::size_type max_id_size = SessionCommand 166 chrome/browser/sessions/base_session_service.cc std::numeric_limits<SessionCommand::size_type>::max() - 1024; SessionCommand 172 chrome/browser/sessions/base_session_service.cc return new SessionCommand(command_id, pickle); SessionCommand 175 chrome/browser/sessions/base_session_service.cc SessionCommand* BaseSessionService::CreateSetTabUserAgentOverrideCommand( SessionCommand 185 chrome/browser/sessions/base_session_service.cc static const SessionCommand::size_type max_user_agent_size = SessionCommand 186 chrome/browser/sessions/base_session_service.cc std::numeric_limits<SessionCommand::size_type>::max() - 1024; SessionCommand 193 chrome/browser/sessions/base_session_service.cc return new SessionCommand(command_id, pickle); SessionCommand 196 chrome/browser/sessions/base_session_service.cc SessionCommand* BaseSessionService::CreateSetWindowAppNameCommand( SessionCommand 205 chrome/browser/sessions/base_session_service.cc static const SessionCommand::size_type max_id_size = SessionCommand 206 chrome/browser/sessions/base_session_service.cc std::numeric_limits<SessionCommand::size_type>::max() - 1024; SessionCommand 212 chrome/browser/sessions/base_session_service.cc return new SessionCommand(command_id, pickle); SessionCommand 216 chrome/browser/sessions/base_session_service.cc const SessionCommand& command, SessionCommand 229 chrome/browser/sessions/base_session_service.cc const SessionCommand& command, SessionCommand 242 chrome/browser/sessions/base_session_service.cc const SessionCommand& command, SessionCommand 255 chrome/browser/sessions/base_session_service.cc const SessionCommand& command, SessionCommand 24 chrome/browser/sessions/base_session_service.h class SessionCommand; SessionCommand 57 chrome/browser/sessions/base_session_service.h typedef base::Callback<void(ScopedVector<SessionCommand>)> SessionCommand 69 chrome/browser/sessions/base_session_service.h std::vector<SessionCommand*>& pending_commands() { SessionCommand 83 chrome/browser/sessions/base_session_service.h virtual void ScheduleCommand(SessionCommand* command); SessionCommand 93 chrome/browser/sessions/base_session_service.h SessionCommand* CreateUpdateTabNavigationCommand( SessionCommand 99 chrome/browser/sessions/base_session_service.h SessionCommand* CreateSetTabExtensionAppIDCommand( SessionCommand 106 chrome/browser/sessions/base_session_service.h SessionCommand* CreateSetTabUserAgentOverrideCommand( SessionCommand 112 chrome/browser/sessions/base_session_service.h SessionCommand* CreateSetWindowAppNameCommand( SessionCommand 122 chrome/browser/sessions/base_session_service.h const SessionCommand& command, SessionCommand 130 chrome/browser/sessions/base_session_service.h const SessionCommand& command, SessionCommand 137 chrome/browser/sessions/base_session_service.h const SessionCommand& command, SessionCommand 144 chrome/browser/sessions/base_session_service.h const SessionCommand& command, SessionCommand 179 chrome/browser/sessions/base_session_service.h std::vector<SessionCommand*> pending_commands_; SessionCommand 97 chrome/browser/sessions/persistent_tab_restore_service.cc const SessionCommand::id_type kCommandUpdateTabNavigation = 1; SessionCommand 98 chrome/browser/sessions/persistent_tab_restore_service.cc const SessionCommand::id_type kCommandRestoredEntry = 2; SessionCommand 99 chrome/browser/sessions/persistent_tab_restore_service.cc const SessionCommand::id_type kCommandWindow = 3; SessionCommand 100 chrome/browser/sessions/persistent_tab_restore_service.cc const SessionCommand::id_type kCommandSelectedNavigationInTab = 4; SessionCommand 101 chrome/browser/sessions/persistent_tab_restore_service.cc const SessionCommand::id_type kCommandPinnedState = 5; SessionCommand 102 chrome/browser/sessions/persistent_tab_restore_service.cc const SessionCommand::id_type kCommandSetExtensionAppID = 6; SessionCommand 103 chrome/browser/sessions/persistent_tab_restore_service.cc const SessionCommand::id_type kCommandSetWindowAppName = 7; SessionCommand 104 chrome/browser/sessions/persistent_tab_restore_service.cc const SessionCommand::id_type kCommandSetTabUserAgentOverride = 8; SessionCommand 158 chrome/browser/sessions/persistent_tab_restore_service.cc static SessionCommand* CreateWindowCommand(SessionID::id_type id, SessionCommand 164 chrome/browser/sessions/persistent_tab_restore_service.cc static SessionCommand* CreateSelectedNavigationInTabCommand( SessionCommand 170 chrome/browser/sessions/persistent_tab_restore_service.cc static SessionCommand* CreateRestoredEntryCommand( SessionCommand 182 chrome/browser/sessions/persistent_tab_restore_service.cc void OnGotLastSessionCommands(ScopedVector<SessionCommand> commands); SessionCommand 185 chrome/browser/sessions/persistent_tab_restore_service.cc void CreateEntriesFromCommands(const std::vector<SessionCommand*>& commands, SessionCommand 447 chrome/browser/sessions/persistent_tab_restore_service.cc SessionCommand* command = SessionCommand 448 chrome/browser/sessions/persistent_tab_restore_service.cc new SessionCommand(kCommandPinnedState, sizeof(payload)); SessionCommand 477 chrome/browser/sessions/persistent_tab_restore_service.cc SessionCommand* PersistentTabRestoreService::Delegate::CreateWindowCommand( SessionCommand 491 chrome/browser/sessions/persistent_tab_restore_service.cc SessionCommand* command = SessionCommand 492 chrome/browser/sessions/persistent_tab_restore_service.cc new SessionCommand(kCommandWindow, sizeof(payload)); SessionCommand 498 chrome/browser/sessions/persistent_tab_restore_service.cc SessionCommand* SessionCommand 507 chrome/browser/sessions/persistent_tab_restore_service.cc SessionCommand* command = SessionCommand 508 chrome/browser/sessions/persistent_tab_restore_service.cc new SessionCommand(kCommandSelectedNavigationInTab, sizeof(payload)); SessionCommand 514 chrome/browser/sessions/persistent_tab_restore_service.cc SessionCommand* SessionCommand 518 chrome/browser/sessions/persistent_tab_restore_service.cc SessionCommand* command = SessionCommand 519 chrome/browser/sessions/persistent_tab_restore_service.cc new SessionCommand(kCommandRestoredEntry, sizeof(payload)); SessionCommand 552 chrome/browser/sessions/persistent_tab_restore_service.cc ScopedVector<SessionCommand> commands) { SessionCommand 563 chrome/browser/sessions/persistent_tab_restore_service.cc const std::vector<SessionCommand*>& commands, SessionCommand 577 chrome/browser/sessions/persistent_tab_restore_service.cc for (std::vector<SessionCommand*>::const_iterator i = commands.begin(); SessionCommand 579 chrome/browser/sessions/persistent_tab_restore_service.cc const SessionCommand& command = *(*i); SessionCommand 40 chrome/browser/sessions/session_backend.cc typedef SessionCommand::id_type id_type; SessionCommand 41 chrome/browser/sessions/session_backend.cc typedef SessionCommand::size_type size_type; SessionCommand 55 chrome/browser/sessions/session_backend.cc std::vector<SessionCommand*>* commands); SessionCommand 62 chrome/browser/sessions/session_backend.cc SessionCommand* ReadCommand(); SessionCommand 89 chrome/browser/sessions/session_backend.cc std::vector<SessionCommand*>* commands) { SessionCommand 101 chrome/browser/sessions/session_backend.cc ScopedVector<SessionCommand> read_commands; SessionCommand 102 chrome/browser/sessions/session_backend.cc SessionCommand* command; SessionCommand 117 chrome/browser/sessions/session_backend.cc SessionCommand* SessionFileReader::ReadCommand() { SessionCommand 154 chrome/browser/sessions/session_backend.cc SessionCommand* command = SessionCommand 155 chrome/browser/sessions/session_backend.cc new SessionCommand(command_id, command_size - sizeof(id_type)); SessionCommand 224 chrome/browser/sessions/session_backend.cc std::vector<SessionCommand*>* commands, SessionCommand 251 chrome/browser/sessions/session_backend.cc ScopedVector<SessionCommand> commands; SessionCommand 257 chrome/browser/sessions/session_backend.cc std::vector<SessionCommand*>* commands) { SessionCommand 298 chrome/browser/sessions/session_backend.cc std::vector<SessionCommand*>* commands) { SessionCommand 305 chrome/browser/sessions/session_backend.cc const std::vector<SessionCommand*>& commands) { SessionCommand 306 chrome/browser/sessions/session_backend.cc for (std::vector<SessionCommand*>::const_iterator i = commands.begin(); SessionCommand 35 chrome/browser/sessions/session_backend.h typedef SessionCommand::id_type id_type; SessionCommand 36 chrome/browser/sessions/session_backend.h typedef SessionCommand::size_type size_type; SessionCommand 64 chrome/browser/sessions/session_backend.h void AppendCommands(std::vector<SessionCommand*>* commands, SessionCommand 77 chrome/browser/sessions/session_backend.h bool ReadLastSessionCommandsImpl(std::vector<SessionCommand*>* commands); SessionCommand 91 chrome/browser/sessions/session_backend.h bool ReadCurrentSessionCommandsImpl(std::vector<SessionCommand*>* commands); SessionCommand 112 chrome/browser/sessions/session_backend.h const std::vector<SessionCommand*>& commands); SessionCommand 14 chrome/browser/sessions/session_backend_unittest.cc typedef std::vector<SessionCommand*> SessionCommands; SessionCommand 17 chrome/browser/sessions/session_backend_unittest.cc SessionCommand::id_type command_id; SessionCommand 21 chrome/browser/sessions/session_backend_unittest.cc SessionCommand* CreateCommandFromData(const TestData& data) { SessionCommand 22 chrome/browser/sessions/session_backend_unittest.cc SessionCommand* command = SessionCommand 23 chrome/browser/sessions/session_backend_unittest.cc new SessionCommand( SessionCommand 25 chrome/browser/sessions/session_backend_unittest.cc static_cast<SessionCommand::size_type>(data.data.size())); SessionCommand 41 chrome/browser/sessions/session_backend_unittest.cc void AssertCommandEqualsData(const TestData& data, SessionCommand* command) { SessionCommand 57 chrome/browser/sessions/session_backend_unittest.cc std::vector<SessionCommand*> commands; SessionCommand 104 chrome/browser/sessions/session_backend_unittest.cc std::vector<SessionCommand*> commands; SessionCommand 109 chrome/browser/sessions/session_backend_unittest.cc for (std::vector<SessionCommand*>::iterator j = commands.begin(); SessionCommand 129 chrome/browser/sessions/session_backend_unittest.cc std::vector<SessionCommand*> commands; SessionCommand 131 chrome/browser/sessions/session_backend_unittest.cc const SessionCommand::size_type big_size = SessionCommand 133 chrome/browser/sessions/session_backend_unittest.cc const SessionCommand::id_type big_id = 50; SessionCommand 134 chrome/browser/sessions/session_backend_unittest.cc SessionCommand* big_command = new SessionCommand(big_id, big_size); SessionCommand 163 chrome/browser/sessions/session_backend_unittest.cc std::vector<SessionCommand*>* empty_commands = SessionCommand 164 chrome/browser/sessions/session_backend_unittest.cc new std::vector<SessionCommand*>(); SessionCommand 169 chrome/browser/sessions/session_backend_unittest.cc std::vector<SessionCommand*> commands; SessionCommand 182 chrome/browser/sessions/session_backend_unittest.cc std::vector<SessionCommand*> commands; SessionCommand 11 chrome/browser/sessions/session_command.cc SessionCommand::SessionCommand(id_type id, size_type size) SessionCommand 16 chrome/browser/sessions/session_command.cc SessionCommand::SessionCommand(id_type id, const Pickle& pickle) SessionCommand 23 chrome/browser/sessions/session_command.cc bool SessionCommand::GetPayload(void* dest, size_t count) const { SessionCommand 30 chrome/browser/sessions/session_command.cc Pickle* SessionCommand::PayloadAsPickle() const { SessionCommand 24 chrome/browser/sessions/session_command.h class SessionCommand { SessionCommand 35 chrome/browser/sessions/session_command.h SessionCommand(id_type id, size_type size); SessionCommand 39 chrome/browser/sessions/session_command.h SessionCommand(id_type id, const Pickle& pickle); SessionCommand 65 chrome/browser/sessions/session_command.h DISALLOW_COPY_AND_ASSIGN(SessionCommand); SessionCommand 59 chrome/browser/sessions/session_service.cc static const SessionCommand::id_type kCommandSetTabWindow = 0; SessionCommand 62 chrome/browser/sessions/session_service.cc static const SessionCommand::id_type kCommandSetTabIndexInWindow = 2; SessionCommand 65 chrome/browser/sessions/session_service.cc static const SessionCommand::id_type kCommandTabClosedObsolete = 3; SessionCommand 66 chrome/browser/sessions/session_service.cc static const SessionCommand::id_type kCommandWindowClosedObsolete = 4; SessionCommand 67 chrome/browser/sessions/session_service.cc static const SessionCommand::id_type SessionCommand 69 chrome/browser/sessions/session_service.cc static const SessionCommand::id_type kCommandUpdateTabNavigation = 6; SessionCommand 70 chrome/browser/sessions/session_service.cc static const SessionCommand::id_type kCommandSetSelectedNavigationIndex = 7; SessionCommand 71 chrome/browser/sessions/session_service.cc static const SessionCommand::id_type kCommandSetSelectedTabInIndex = 8; SessionCommand 72 chrome/browser/sessions/session_service.cc static const SessionCommand::id_type kCommandSetWindowType = 9; SessionCommand 75 chrome/browser/sessions/session_service.cc static const SessionCommand::id_type SessionCommand 77 chrome/browser/sessions/session_service.cc static const SessionCommand::id_type kCommandSetPinnedState = 12; SessionCommand 78 chrome/browser/sessions/session_service.cc static const SessionCommand::id_type kCommandSetExtensionAppID = 13; SessionCommand 79 chrome/browser/sessions/session_service.cc static const SessionCommand::id_type kCommandSetWindowBounds3 = 14; SessionCommand 80 chrome/browser/sessions/session_service.cc static const SessionCommand::id_type kCommandSetWindowAppName = 15; SessionCommand 81 chrome/browser/sessions/session_service.cc static const SessionCommand::id_type kCommandTabClosed = 16; SessionCommand 82 chrome/browser/sessions/session_service.cc static const SessionCommand::id_type kCommandWindowClosed = 17; SessionCommand 83 chrome/browser/sessions/session_service.cc static const SessionCommand::id_type kCommandSetTabUserAgentOverride = 18; SessionCommand 84 chrome/browser/sessions/session_service.cc static const SessionCommand::id_type kCommandSessionStorageAssociated = 19; SessionCommand 85 chrome/browser/sessions/session_service.cc static const SessionCommand::id_type kCommandSetActiveWindow = 20; SessionCommand 161 chrome/browser/sessions/session_service.cc bool MigrateClosedPayload(const SessionCommand& command, SessionCommand 425 chrome/browser/sessions/session_service.cc SessionCommand* command = SessionCommand 426 chrome/browser/sessions/session_service.cc new SessionCommand(kCommandTabNavigationPathPrunedFromBack, SessionCommand 450 chrome/browser/sessions/session_service.cc SessionCommand* command = SessionCommand 451 chrome/browser/sessions/session_service.cc new SessionCommand(kCommandTabNavigationPathPrunedFromFront, SessionCommand 732 chrome/browser/sessions/session_service.cc SessionCommand* SessionService::CreateSetSelectedTabInWindow( SessionCommand 738 chrome/browser/sessions/session_service.cc SessionCommand* command = new SessionCommand(kCommandSetSelectedTabInIndex, SessionCommand 744 chrome/browser/sessions/session_service.cc SessionCommand* SessionService::CreateSetTabWindowCommand( SessionCommand 748 chrome/browser/sessions/session_service.cc SessionCommand* command = SessionCommand 749 chrome/browser/sessions/session_service.cc new SessionCommand(kCommandSetTabWindow, sizeof(payload)); SessionCommand 754 chrome/browser/sessions/session_service.cc SessionCommand* SessionService::CreateSetWindowBoundsCommand( SessionCommand 765 chrome/browser/sessions/session_service.cc SessionCommand* command = new SessionCommand(kCommandSetWindowBounds3, SessionCommand 771 chrome/browser/sessions/session_service.cc SessionCommand* SessionService::CreateSetTabIndexInWindowCommand( SessionCommand 777 chrome/browser/sessions/session_service.cc SessionCommand* command = SessionCommand 778 chrome/browser/sessions/session_service.cc new SessionCommand(kCommandSetTabIndexInWindow, sizeof(payload)); SessionCommand 783 chrome/browser/sessions/session_service.cc SessionCommand* SessionService::CreateTabClosedCommand( SessionCommand 792 chrome/browser/sessions/session_service.cc SessionCommand* command = SessionCommand 793 chrome/browser/sessions/session_service.cc new SessionCommand(kCommandTabClosed, sizeof(payload)); SessionCommand 798 chrome/browser/sessions/session_service.cc SessionCommand* SessionService::CreateWindowClosedCommand( SessionCommand 805 chrome/browser/sessions/session_service.cc SessionCommand* command = SessionCommand 806 chrome/browser/sessions/session_service.cc new SessionCommand(kCommandWindowClosed, sizeof(payload)); SessionCommand 811 chrome/browser/sessions/session_service.cc SessionCommand* SessionService::CreateSetSelectedNavigationIndexCommand( SessionCommand 817 chrome/browser/sessions/session_service.cc SessionCommand* command = new SessionCommand( SessionCommand 823 chrome/browser/sessions/session_service.cc SessionCommand* SessionService::CreateSetWindowTypeCommand( SessionCommand 829 chrome/browser/sessions/session_service.cc SessionCommand* command = new SessionCommand( SessionCommand 835 chrome/browser/sessions/session_service.cc SessionCommand* SessionService::CreatePinnedStateCommand( SessionCommand 841 chrome/browser/sessions/session_service.cc SessionCommand* command = SessionCommand 842 chrome/browser/sessions/session_service.cc new SessionCommand(kCommandSetPinnedState, sizeof(payload)); SessionCommand 847 chrome/browser/sessions/session_service.cc SessionCommand* SessionService::CreateSessionStorageAssociatedCommand( SessionCommand 853 chrome/browser/sessions/session_service.cc return new SessionCommand(kCommandSessionStorageAssociated, pickle); SessionCommand 856 chrome/browser/sessions/session_service.cc SessionCommand* SessionService::CreateSetActiveWindowCommand( SessionCommand 860 chrome/browser/sessions/session_service.cc SessionCommand* command = SessionCommand 861 chrome/browser/sessions/session_service.cc new SessionCommand(kCommandSetActiveWindow, sizeof(payload)); SessionCommand 868 chrome/browser/sessions/session_service.cc ScopedVector<SessionCommand> commands) { SessionCommand 878 chrome/browser/sessions/session_service.cc const std::vector<SessionCommand*>& commands, SessionCommand 1030 chrome/browser/sessions/session_service.cc const std::vector<SessionCommand*>& data, SessionCommand 1041 chrome/browser/sessions/session_service.cc for (std::vector<SessionCommand*>::const_iterator i = data.begin(); SessionCommand 1043 chrome/browser/sessions/session_service.cc const SessionCommand::id_type kCommandSetWindowBounds2 = 10; SessionCommand 1044 chrome/browser/sessions/session_service.cc const SessionCommand* command = *i; SessionCommand 1302 chrome/browser/sessions/session_service.cc std::vector<SessionCommand*>* commands, SessionCommand 1372 chrome/browser/sessions/session_service.cc std::vector<SessionCommand*>* commands, SessionCommand 1409 chrome/browser/sessions/session_service.cc std::vector<SessionCommand*>* commands, SessionCommand 1445 chrome/browser/sessions/session_service.cc bool SessionService::ReplacePendingCommand(SessionCommand* command) { SessionCommand 1452 chrome/browser/sessions/session_service.cc for (std::vector<SessionCommand*>::reverse_iterator i = SessionCommand 1454 chrome/browser/sessions/session_service.cc SessionCommand* existing_command = *i; SessionCommand 1500 chrome/browser/sessions/session_service.cc void SessionService::ScheduleCommand(SessionCommand* command) { SessionCommand 28 chrome/browser/sessions/session_service.h class SessionCommand; SessionCommand 251 chrome/browser/sessions/session_service.h SessionCommand* CreateSetSelectedTabInWindow(const SessionID& window_id, SessionCommand 254 chrome/browser/sessions/session_service.h SessionCommand* CreateSetTabWindowCommand(const SessionID& window_id, SessionCommand 257 chrome/browser/sessions/session_service.h SessionCommand* CreateSetWindowBoundsCommand(const SessionID& window_id, SessionCommand 261 chrome/browser/sessions/session_service.h SessionCommand* CreateSetTabIndexInWindowCommand(const SessionID& tab_id, SessionCommand 264 chrome/browser/sessions/session_service.h SessionCommand* CreateTabClosedCommand(SessionID::id_type tab_id); SessionCommand 266 chrome/browser/sessions/session_service.h SessionCommand* CreateWindowClosedCommand(SessionID::id_type tab_id); SessionCommand 268 chrome/browser/sessions/session_service.h SessionCommand* CreateSetSelectedNavigationIndexCommand( SessionCommand 272 chrome/browser/sessions/session_service.h SessionCommand* CreateSetWindowTypeCommand(const SessionID& window_id, SessionCommand 275 chrome/browser/sessions/session_service.h SessionCommand* CreatePinnedStateCommand(const SessionID& tab_id, SessionCommand 278 chrome/browser/sessions/session_service.h SessionCommand* CreateSessionStorageAssociatedCommand( SessionCommand 282 chrome/browser/sessions/session_service.h SessionCommand* CreateSetActiveWindowCommand(const SessionID& window_id); SessionCommand 286 chrome/browser/sessions/session_service.h ScopedVector<SessionCommand> commands); SessionCommand 293 chrome/browser/sessions/session_service.h void RestoreSessionFromCommands(const std::vector<SessionCommand*>& commands, SessionCommand 344 chrome/browser/sessions/session_service.h bool CreateTabsAndWindows(const std::vector<SessionCommand*>& data, SessionCommand 359 chrome/browser/sessions/session_service.h std::vector<SessionCommand*>* commands, SessionCommand 367 chrome/browser/sessions/session_service.h std::vector<SessionCommand*>* commands, SessionCommand 376 chrome/browser/sessions/session_service.h std::vector<SessionCommand*>* commands, SessionCommand 387 chrome/browser/sessions/session_service.h bool ReplacePendingCommand(SessionCommand* command); SessionCommand 391 chrome/browser/sessions/session_service.h virtual void ScheduleCommand(SessionCommand* command) OVERRIDE; SessionCommand 60 chrome/browser/sessions/session_service_test_helper.cc ScopedVector<SessionCommand> read_commands; SessionCommand 16 chrome/browser/sessions/session_service_test_helper.h class SessionCommand; SessionCommand 132 chrome/test/chromedriver/commands.cc const SessionCommand& command, SessionCommand 219 chrome/test/chromedriver/commands.cc const SessionCommand& command, SessionCommand 56 chrome/test/chromedriver/commands.h const SessionCommand& command, SessionCommand 134 chrome/test/chromedriver/commands_unittest.cc SessionCommand cmd = base::Bind( SessionCommand 568 chrome/test/chromedriver/server/http_handler.cc const SessionCommand& session_command) { SessionCommand 84 chrome/test/chromedriver/server/http_handler.h const SessionCommand& session_command);