Home
last modified time | relevance | path

Searched refs:SessionCommand (Results 1 – 17 of 17) sorted by relevance

/external/chromium_org/chrome/browser/sessions/
Dbase_session_service.h23 class SessionCommand; variable
56 typedef base::Callback<void(ScopedVector<SessionCommand>)>
68 std::vector<SessionCommand*>& pending_commands() { in pending_commands()
82 virtual void ScheduleCommand(SessionCommand* command);
92 SessionCommand* CreateUpdateTabNavigationCommand(
98 SessionCommand* CreateSetTabExtensionAppIDCommand(
105 SessionCommand* CreateSetTabUserAgentOverrideCommand(
111 SessionCommand* CreateSetWindowAppNameCommand(
121 const SessionCommand& command,
129 const SessionCommand& command,
[all …]
Dsession_backend_unittest.cc14 typedef std::vector<SessionCommand*> SessionCommands;
17 SessionCommand::id_type command_id;
21 SessionCommand* CreateCommandFromData(const TestData& data) { in CreateCommandFromData()
22 SessionCommand* command = in CreateCommandFromData()
23 new SessionCommand( in CreateCommandFromData()
25 static_cast<SessionCommand::size_type>(data.data.size())); in CreateCommandFromData()
41 void AssertCommandEqualsData(const TestData& data, SessionCommand* command) { in AssertCommandEqualsData()
57 std::vector<SessionCommand*> commands; in TEST_F()
104 std::vector<SessionCommand*> commands; in TEST_F()
109 for (std::vector<SessionCommand*>::iterator j = commands.begin(); in TEST_F()
[all …]
Dbase_session_service.cc48 ScopedVector<SessionCommand> commands) { in RunIfNotCanceled()
57 ScopedVector<SessionCommand> commands) { in PostOrRunInternalGetCommandsCallback()
101 void BaseSessionService::ScheduleCommand(SessionCommand* command) { in ScheduleCommand()
129 new std::vector<SessionCommand*>(pending_commands_), in Save()
141 SessionCommand* BaseSessionService::CreateUpdateTabNavigationCommand( in CreateUpdateTabNavigationCommand()
151 std::numeric_limits<SessionCommand::size_type>::max() - 1024; in CreateUpdateTabNavigationCommand()
153 return new SessionCommand(command_id, pickle); in CreateUpdateTabNavigationCommand()
156 SessionCommand* BaseSessionService::CreateSetTabExtensionAppIDCommand( in CreateSetTabExtensionAppIDCommand()
165 static const SessionCommand::size_type max_id_size = in CreateSetTabExtensionAppIDCommand()
166 std::numeric_limits<SessionCommand::size_type>::max() - 1024; in CreateSetTabExtensionAppIDCommand()
[all …]
Dsession_service.h29 class SessionCommand; variable
252 SessionCommand* CreateSetSelectedTabInWindow(const SessionID& window_id,
255 SessionCommand* CreateSetTabWindowCommand(const SessionID& window_id,
258 SessionCommand* CreateSetWindowBoundsCommand(const SessionID& window_id,
262 SessionCommand* CreateSetTabIndexInWindowCommand(const SessionID& tab_id,
265 SessionCommand* CreateTabClosedCommand(SessionID::id_type tab_id);
267 SessionCommand* CreateWindowClosedCommand(SessionID::id_type tab_id);
269 SessionCommand* CreateSetSelectedNavigationIndexCommand(
273 SessionCommand* CreateSetWindowTypeCommand(const SessionID& window_id,
276 SessionCommand* CreatePinnedStateCommand(const SessionID& tab_id,
[all …]
Dsession_command.cc11 SessionCommand::SessionCommand(id_type id, size_type size) in SessionCommand() function in SessionCommand
16 SessionCommand::SessionCommand(id_type id, const Pickle& pickle) in SessionCommand() function in SessionCommand
23 bool SessionCommand::GetPayload(void* dest, size_t count) const { in GetPayload()
30 Pickle* SessionCommand::PayloadAsPickle() const { in PayloadAsPickle()
Dsession_backend.cc40 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) { in Read()
101 ScopedVector<SessionCommand> read_commands; in Read()
102 for (SessionCommand* command = ReadCommand(); command && !errored_; in Read()
117 SessionCommand* SessionFileReader::ReadCommand() { in ReadCommand()
154 SessionCommand* command = in ReadCommand()
155 new SessionCommand(command_id, command_size - sizeof(id_type)); in ReadCommand()
[all …]
Dsession_service.cc59 static const SessionCommand::id_type kCommandSetTabWindow = 0;
62 static const SessionCommand::id_type kCommandSetTabIndexInWindow = 2;
65 static const SessionCommand::id_type kCommandTabClosedObsolete = 3;
66 static const SessionCommand::id_type kCommandWindowClosedObsolete = 4;
67 static const SessionCommand::id_type
69 static const SessionCommand::id_type kCommandUpdateTabNavigation = 6;
70 static const SessionCommand::id_type kCommandSetSelectedNavigationIndex = 7;
71 static const SessionCommand::id_type kCommandSetSelectedTabInIndex = 8;
72 static const SessionCommand::id_type kCommandSetWindowType = 9;
75 static const SessionCommand::id_type
[all …]
Dsession_backend.h35 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);
Dpersistent_tab_restore_service.cc96 const SessionCommand::id_type kCommandUpdateTabNavigation = 1;
97 const SessionCommand::id_type kCommandRestoredEntry = 2;
98 const SessionCommand::id_type kCommandWindow = 3;
99 const SessionCommand::id_type kCommandSelectedNavigationInTab = 4;
100 const SessionCommand::id_type kCommandPinnedState = 5;
101 const SessionCommand::id_type kCommandSetExtensionAppID = 6;
102 const SessionCommand::id_type kCommandSetWindowAppName = 7;
103 const SessionCommand::id_type kCommandSetTabUserAgentOverride = 8;
157 static SessionCommand* CreateWindowCommand(SessionID::id_type id,
163 static SessionCommand* CreateSelectedNavigationInTabCommand(
[all …]
Dsession_command.h24 class SessionCommand {
35 SessionCommand(id_type id, size_type size);
39 SessionCommand(id_type id, const Pickle& pickle);
65 DISALLOW_COPY_AND_ASSIGN(SessionCommand);
Dsession_service_test_helper.h17 class SessionCommand; variable
Dsession_service_test_helper.cc62 ScopedVector<SessionCommand> read_commands; in ReadWindows()
/external/chromium_org/chrome/test/chromedriver/
Dcommands.h49 scoped_ptr<base::Value>*)> SessionCommand; typedef
56 const SessionCommand& command,
Dcommands.cc133 const SessionCommand& command, in ExecuteSessionCommandOnSessionThread()
232 const SessionCommand& command, in ExecuteSessionCommand()
Dcommands_unittest.cc135 SessionCommand cmd = base::Bind( in TEST()
621 SessionCommand cmd = base::Bind(&ExecuteAddListenerToSessionCommand, proxy); in TEST()
713 SessionCommand cmd = base::Bind(&ShouldNotBeCalled); in TEST()
/external/chromium_org/chrome/test/chromedriver/server/
Dhttp_handler.h84 const SessionCommand& session_command);
Dhttp_handler.cc573 const SessionCommand& session_command) { in WrapToCommand()