OLD | NEW |
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 "chrome/browser/sync/test/integration/single_client_status_change_check
er.h" | 5 #include "chrome/browser/sync/test/integration/single_client_status_change_check
er.h" |
6 | 6 |
7 #include <vector> | 7 #include <vector> |
8 | 8 |
9 SingleClientStatusChangeChecker::SingleClientStatusChangeChecker( | 9 SingleClientStatusChangeChecker::SingleClientStatusChangeChecker( |
10 browser_sync::ProfileSyncService* service) | 10 browser_sync::ProfileSyncService* service) |
11 : MultiClientStatusChangeChecker( | 11 : MultiClientStatusChangeChecker({service}) {} |
12 std::vector<browser_sync::ProfileSyncService*>(1, service)) {} | |
13 | 12 |
14 SingleClientStatusChangeChecker::~SingleClientStatusChangeChecker() {} | 13 SingleClientStatusChangeChecker::~SingleClientStatusChangeChecker() {} |
15 | 14 |
16 browser_sync::ProfileSyncService* SingleClientStatusChangeChecker::service() { | 15 browser_sync::ProfileSyncService* SingleClientStatusChangeChecker::service() { |
17 return services()[0]; | 16 return services()[0]; |
18 } | 17 } |
OLD | NEW |