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

Side by Side Diff: chrome/browser/sync/test/integration/session_hierarchy_match_checker.cc

Issue 2725813003: reland of [sync] Add Sessions integration tests (Closed)
Patch Set: Switch back to WaitForURLOnServer, make everything a constant Created 3 years, 9 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
(Empty)
1 // Copyright (c) 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "chrome/browser/sync/test/integration/session_hierarchy_match_checker.h "
6
7 SessionHierarchyMatchChecker::SessionHierarchyMatchChecker(
8 const fake_server::SessionsHierarchy& sessions_hierarchy,
9 browser_sync::ProfileSyncService* service,
10 fake_server::FakeServer* fake_server)
11 : SingleClientStatusChangeChecker(service),
12 sessions_hierarchy_(sessions_hierarchy),
13 verifier_(fake_server) {}
14
15 bool SessionHierarchyMatchChecker::IsExitConditionSatisfied() {
16 return verifier_.VerifySessions(sessions_hierarchy_);
17 }
18
19 std::string SessionHierarchyMatchChecker::GetDebugMessage() const {
20 return "Waiting for matching sessions hierarchy to be reflected in fake "
21 "server";
22 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698