/external/chromium/chrome/browser/sessions/ |
session_command.cc | 11 SessionCommand::SessionCommand(id_type id, size_type size) 16 SessionCommand::SessionCommand(id_type id, const Pickle& pickle) 23 bool SessionCommand::GetPayload(void* dest, size_t count) const { 30 Pickle* SessionCommand::PayloadAsPickle() const {
|
session_backend_unittest.cc | 14 typedef std::vector<SessionCommand*> SessionCommands; 17 SessionCommand::id_type command_id; 21 SessionCommand* CreateCommandFromData(const TestData& data) { 22 SessionCommand* command = 23 new SessionCommand( 25 static_cast<SessionCommand::size_type>(data.data.size())); 41 void AssertCommandEqualsData(const TestData& data, SessionCommand* command) { 57 std::vector<SessionCommand*> commands; 104 std::vector<SessionCommand*> commands; 109 for (std::vector<SessionCommand*>::iterator j = commands.begin() [all...] |
session_command.h | 15 // SessionCommand contains a command id and arbitrary chunk of data. The id 21 // There are two ways to create a SessionCommand: 25 class SessionCommand { 35 SessionCommand(id_type id, size_type size); 39 SessionCommand(id_type id, const Pickle& pickle); 57 // this SessionCommand. If you need it to outlive the command, copy the 65 DISALLOW_COPY_AND_ASSIGN(SessionCommand);
|
base_session_service.h | 19 class SessionCommand; 69 std::vector<SessionCommand*> commands; 92 std::vector<SessionCommand*>& pending_commands() { 106 virtual void ScheduleCommand(SessionCommand* command); 115 // Creates a SessionCommand that represents a navigation. 116 SessionCommand* CreateUpdateTabNavigationCommand( 122 // Creates a SessionCommand that represents marking a tab as an application. 123 SessionCommand* CreateSetTabExtensionAppIDCommand( 128 // Converts a SessionCommand previously created by 131 bool RestoreUpdateTabNavigationCommand(const SessionCommand& command [all...] |
base_session_service.cc | 96 void BaseSessionService::ScheduleCommand(SessionCommand* command) { 121 new std::vector<SessionCommand*>(pending_commands_), pending_reset_); 125 new std::vector<SessionCommand*>(pending_commands_), 137 SessionCommand* BaseSessionService::CreateUpdateTabNavigationCommand( 153 static const SessionCommand::size_type max_state_size = 154 std::numeric_limits<SessionCommand::size_type>::max() - 1024; 180 return new SessionCommand(command_id, pickle); 183 SessionCommand* BaseSessionService::CreateSetTabExtensionAppIDCommand( 192 static const SessionCommand::size_type max_id_size = 193 std::numeric_limits<SessionCommand::size_type>::max() - 1024 [all...] |
session_backend.cc | 40 typedef SessionCommand::id_type id_type; 41 typedef SessionCommand::size_type size_type; 55 std::vector<SessionCommand*>* commands); 62 SessionCommand* ReadCommand(); 89 std::vector<SessionCommand*>* commands) { 101 ScopedVector<SessionCommand> read_commands; 102 SessionCommand* command; 117 SessionCommand* SessionFileReader::ReadCommand() { 150 // the contents of the SessionCommand. 151 SessionCommand* command [all...] |
session_service_test_helper.h | 15 class SessionCommand; 30 void RestoreSessionFromCommands(const std::vector<SessionCommand*>& commands,
|
session_service.cc | 44 static const SessionCommand::id_type kCommandSetTabWindow = 0; 47 // static const SessionCommand::id_type kCommandSetWindowBounds = 1; 48 static const SessionCommand::id_type kCommandSetTabIndexInWindow = 2; 49 static const SessionCommand::id_type kCommandTabClosed = 3; 50 static const SessionCommand::id_type kCommandWindowClosed = 4; 51 static const SessionCommand::id_type 53 static const SessionCommand::id_type kCommandUpdateTabNavigation = 6; 54 static const SessionCommand::id_type kCommandSetSelectedNavigationIndex = 7; 55 static const SessionCommand::id_type kCommandSetSelectedTabInIndex = 8; 56 static const SessionCommand::id_type kCommandSetWindowType = 9 [all...] |
session_backend.h | 35 typedef SessionCommand::id_type id_type; 36 typedef SessionCommand::size_type size_type; 63 void AppendCommands(std::vector<SessionCommand*>* commands, 75 bool ReadLastSessionCommandsImpl(std::vector<SessionCommand*>* commands); 94 bool ReadCurrentSessionCommandsImpl(std::vector<SessionCommand*>* commands); 115 const std::vector<SessionCommand*>& commands);
|
session_service.h | 26 class SessionCommand; 216 // the returned the SessionCommand* object. 217 SessionCommand* CreateSetSelectedTabInWindow(const SessionID& window_id, 220 SessionCommand* CreateSetTabWindowCommand(const SessionID& window_id, 223 SessionCommand* CreateSetWindowBoundsCommand(const SessionID& window_id, 227 SessionCommand* CreateSetTabIndexInWindowCommand(const SessionID& tab_id, 230 SessionCommand* CreateTabClosedCommand(SessionID::id_type tab_id); 232 SessionCommand* CreateWindowClosedCommand(SessionID::id_type tab_id); 234 SessionCommand* CreateSetSelectedNavigationIndexCommand( 238 SessionCommand* CreateSetWindowTypeCommand(const SessionID& window_id [all...] |
session_service_test_helper.cc | 24 const std::vector<SessionCommand*>& commands, 50 ScopedVector<SessionCommand> read_commands;
|
tab_restore_service.cc | 71 static const SessionCommand::id_type kCommandUpdateTabNavigation = 1; 72 static const SessionCommand::id_type kCommandRestoredEntry = 2; 73 static const SessionCommand::id_type kCommandWindow = 3; 74 static const SessionCommand::id_type kCommandSelectedNavigationInTab = 4; 75 static const SessionCommand::id_type kCommandPinnedState = 5; 76 static const SessionCommand::id_type kCommandSetExtensionAppID = 6; 617 SessionCommand* command = 618 new SessionCommand(kCommandPinnedState, sizeof(payload)); 645 SessionCommand* TabRestoreService::CreateWindowCommand(SessionID::id_type id, 658 SessionCommand* command [all...] |
tab_restore_service.h | 229 SessionCommand* CreateWindowCommand(SessionID::id_type id, 235 SessionCommand* CreateSelectedNavigationInTabCommand( 241 SessionCommand* CreateRestoredEntryCommand(SessionID::id_type entry_id);
|
/external/chromium_org/chrome/browser/sessions/ |
session_command.cc | 11 SessionCommand::SessionCommand(id_type id, size_type size) 16 SessionCommand::SessionCommand(id_type id, const Pickle& pickle) 23 bool SessionCommand::GetPayload(void* dest, size_t count) const { 30 Pickle* SessionCommand::PayloadAsPickle() const {
|
base_session_service.h | 24 class SessionCommand; 57 typedef base::Callback<void(ScopedVector<SessionCommand>)> 69 std::vector<SessionCommand*>& pending_commands() { 83 virtual void ScheduleCommand(SessionCommand* command); 92 // Creates a SessionCommand that represents a navigation. 93 SessionCommand* CreateUpdateTabNavigationCommand( 98 // Creates a SessionCommand that represents marking a tab as an application. 99 SessionCommand* CreateSetTabExtensionAppIDCommand( 104 // Creates a SessionCommand that containing user agent override used by a 106 SessionCommand* CreateSetTabUserAgentOverrideCommand [all...] |
session_backend_unittest.cc | 14 typedef std::vector<SessionCommand*> SessionCommands; 17 SessionCommand::id_type command_id; 21 SessionCommand* CreateCommandFromData(const TestData& data) { 22 SessionCommand* command = 23 new SessionCommand( 25 static_cast<SessionCommand::size_type>(data.data.size())); 41 void AssertCommandEqualsData(const TestData& data, SessionCommand* command) { 57 std::vector<SessionCommand*> commands; 104 std::vector<SessionCommand*> commands; 109 for (std::vector<SessionCommand*>::iterator j = commands.begin() [all...] |
session_command.h | 14 // SessionCommand contains a command id and arbitrary chunk of data. The id 20 // There are two ways to create a SessionCommand: 24 class SessionCommand { 35 SessionCommand(id_type id, size_type size); 39 SessionCommand(id_type id, const Pickle& pickle); 57 // this SessionCommand. If you need it to outlive the command, copy the 65 DISALLOW_COPY_AND_ASSIGN(SessionCommand);
|
base_session_service.cc | 48 ScopedVector<SessionCommand> commands) { 57 ScopedVector<SessionCommand> commands) { 101 void BaseSessionService::ScheduleCommand(SessionCommand* command) { 129 new std::vector<SessionCommand*>(pending_commands_), 141 SessionCommand* BaseSessionService::CreateUpdateTabNavigationCommand( 151 std::numeric_limits<SessionCommand::size_type>::max() - 1024; 153 return new SessionCommand(command_id, pickle); 156 SessionCommand* BaseSessionService::CreateSetTabExtensionAppIDCommand( 165 static const SessionCommand::size_type max_id_size = 166 std::numeric_limits<SessionCommand::size_type>::max() - 1024 [all...] |
session_service.cc | 58 static const SessionCommand::id_type kCommandSetTabWindow = 0; 60 // static const SessionCommand::id_type kCommandSetWindowBounds = 1; 61 static const SessionCommand::id_type kCommandSetTabIndexInWindow = 2; 64 static const SessionCommand::id_type kCommandTabClosedObsolete = 3; 65 static const SessionCommand::id_type kCommandWindowClosedObsolete = 4; 66 static const SessionCommand::id_type 68 static const SessionCommand::id_type kCommandUpdateTabNavigation = 6; 69 static const SessionCommand::id_type kCommandSetSelectedNavigationIndex = 7; 70 static const SessionCommand::id_type kCommandSetSelectedTabInIndex = 8; 71 static const SessionCommand::id_type kCommandSetWindowType = 9 [all...] |
session_backend.cc | 41 typedef SessionCommand::id_type id_type; 42 typedef SessionCommand::size_type size_type; 58 std::vector<SessionCommand*>* commands); 65 SessionCommand* ReadCommand(); 92 std::vector<SessionCommand*>* commands) { 104 ScopedVector<SessionCommand> read_commands; 105 SessionCommand* command; 120 SessionCommand* SessionFileReader::ReadCommand() { 156 // the contents of the SessionCommand. 157 SessionCommand* command [all...] |
session_backend.h | 35 typedef SessionCommand::id_type id_type; 36 typedef SessionCommand::size_type size_type; 64 void AppendCommands(std::vector<SessionCommand*>* commands, 77 bool ReadLastSessionCommandsImpl(std::vector<SessionCommand*>* commands); 91 bool ReadCurrentSessionCommandsImpl(std::vector<SessionCommand*>* commands); 112 const std::vector<SessionCommand*>& commands);
|
persistent_tab_restore_service.cc | 97 const SessionCommand::id_type kCommandUpdateTabNavigation = 1; 98 const SessionCommand::id_type kCommandRestoredEntry = 2; 99 const SessionCommand::id_type kCommandWindow = 3; 100 const SessionCommand::id_type kCommandSelectedNavigationInTab = 4; 101 const SessionCommand::id_type kCommandPinnedState = 5; 102 const SessionCommand::id_type kCommandSetExtensionAppID = 6; 103 const SessionCommand::id_type kCommandSetWindowAppName = 7; 104 const SessionCommand::id_type kCommandSetTabUserAgentOverride = 8; 158 static SessionCommand* CreateWindowCommand(SessionID::id_type id, 164 static SessionCommand* CreateSelectedNavigationInTabCommand [all...] |
session_service.h | 28 class SessionCommand; 249 // the returned the SessionCommand* object. 250 SessionCommand* CreateSetSelectedTabInWindow(const SessionID& window_id, 253 SessionCommand* CreateSetTabWindowCommand(const SessionID& window_id, 256 SessionCommand* CreateSetWindowBoundsCommand(const SessionID& window_id, 260 SessionCommand* CreateSetTabIndexInWindowCommand(const SessionID& tab_id, 263 SessionCommand* CreateTabClosedCommand(SessionID::id_type tab_id); 265 SessionCommand* CreateWindowClosedCommand(SessionID::id_type tab_id); 267 SessionCommand* CreateSetSelectedNavigationIndexCommand( 271 SessionCommand* CreateSetWindowTypeCommand(const SessionID& window_id [all...] |
session_service_test_helper.h | 16 class SessionCommand;
|
/external/chromium_org/chrome/test/chromedriver/ |
commands.h | 49 scoped_ptr<base::Value>*)> SessionCommand; 56 const SessionCommand& command,
|