Lines Matching refs:backend
54 scoped_refptr<SessionBackend> backend( in TEST_F() local
59 backend->AppendCommands(new SessionCommands(commands), false); in TEST_F()
63 backend = NULL; in TEST_F()
64 backend = new SessionBackend(BaseSessionService::SESSION_RESTORE, path_); in TEST_F()
65 backend->ReadLastSessionCommandsImpl(&commands); in TEST_F()
72 backend = NULL; in TEST_F()
73 backend = new SessionBackend(BaseSessionService::SESSION_RESTORE, path_); in TEST_F()
74 backend->ReadLastSessionCommandsImpl(&commands); in TEST_F()
79 backend->DeleteLastSession(); in TEST_F()
80 backend->ReadLastSessionCommandsImpl(&commands); in TEST_F()
102 scoped_refptr<SessionBackend> backend( in TEST_F() local
107 backend->ReadLastSessionCommandsImpl(&commands); in TEST_F()
113 backend->AppendCommands(new SessionCommands(commands), false); in TEST_F()
117 backend->AppendCommands(new SessionCommands(commands), false); in TEST_F()
127 scoped_refptr<SessionBackend> backend( in TEST_F() local
139 backend->AppendCommands(new SessionCommands(commands), false); in TEST_F()
142 backend = NULL; in TEST_F()
143 backend = new SessionBackend(BaseSessionService::SESSION_RESTORE, path_); in TEST_F()
145 backend->ReadLastSessionCommandsImpl(&commands); in TEST_F()
161 scoped_refptr<SessionBackend> backend( in TEST_F() local
166 backend->AppendCommands(empty_commands, true); in TEST_F()
167 backend->MoveCurrentSessionToLastSession(); in TEST_F()
170 backend->ReadLastSessionCommandsImpl(&commands); in TEST_F()
179 scoped_refptr<SessionBackend> backend( in TEST_F() local
184 backend->AppendCommands(new SessionCommands(commands), false); in TEST_F()
190 backend->AppendCommands(new SessionCommands(commands), true); in TEST_F()
194 backend = NULL; in TEST_F()
195 backend = new SessionBackend(BaseSessionService::SESSION_RESTORE, path_); in TEST_F()
196 backend->ReadLastSessionCommandsImpl(&commands); in TEST_F()