Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(549)

Side by Side Diff: components/sessions/core/base_session_service_test_helper.cc

Issue 2600583002: Remove ScopedVector from components/sessions. (Closed)
Patch Set: include Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "components/sessions/core/base_session_service_test_helper.h" 5 #include "components/sessions/core/base_session_service_test_helper.h"
6 6
7 #include "components/sessions/core/base_session_service.h" 7 #include "components/sessions/core/base_session_service.h"
8 #include "components/sessions/core/session_backend.h" 8 #include "components/sessions/core/session_backend.h"
9 9
10 namespace sessions { 10 namespace sessions {
(...skipping 12 matching lines...) Expand all
23 const base::Closure& task) { 23 const base::Closure& task) {
24 base_session_service_->RunTaskOnBackendThread(from_here, task); 24 base_session_service_->RunTaskOnBackendThread(from_here, task);
25 } 25 }
26 26
27 bool BaseSessionServiceTestHelper::ProcessedAnyCommands() { 27 bool BaseSessionServiceTestHelper::ProcessedAnyCommands() {
28 return base_session_service_->backend_->inited() || 28 return base_session_service_->backend_->inited() ||
29 !base_session_service_->pending_commands().empty(); 29 !base_session_service_->pending_commands().empty();
30 } 30 }
31 31
32 bool BaseSessionServiceTestHelper::ReadLastSessionCommands( 32 bool BaseSessionServiceTestHelper::ReadLastSessionCommands(
33 ScopedVector<SessionCommand>* commands) { 33 std::vector<std::unique_ptr<SessionCommand>>* commands) {
34 return base_session_service_->backend_->ReadLastSessionCommandsImpl(commands); 34 return base_session_service_->backend_->ReadLastSessionCommandsImpl(commands);
35 } 35 }
36 36
37 } // namespace sessions 37 } // namespace sessions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698