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

Unified Diff: components/sync/test/fake_server/sessions_hierarchy.h

Issue 2725813003: reland of [sync] Add Sessions integration tests (Closed)
Patch Set: Switch back to WaitForURLOnServer, make everything a constant Created 3 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/test/BUILD.gn ('k') | components/sync/test/fake_server/sessions_hierarchy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/test/fake_server/sessions_hierarchy.h
diff --git a/components/sync/test/fake_server/sessions_hierarchy.h b/components/sync/test/fake_server/sessions_hierarchy.h
index 8d323d499b6fc48f684207e8d83bda2607b6fffe..93199ca5e0c62cdb409d3bffef9ce8549d5bd8b4 100644
--- a/components/sync/test/fake_server/sessions_hierarchy.h
+++ b/components/sync/test/fake_server/sessions_hierarchy.h
@@ -21,6 +21,12 @@ class SessionsHierarchy {
// Creates an empty (no windows) SessionsHierachy.
SessionsHierarchy();
+ // Copy constructor.
+ SessionsHierarchy(const SessionsHierarchy& other);
+
+ // Creates a SessionsHierarchy with specified set of windows.
+ SessionsHierarchy(std::initializer_list<std::multiset<std::string>> windows);
+
~SessionsHierarchy();
// Add a window to the builder with one tab.
« no previous file with comments | « chrome/test/BUILD.gn ('k') | components/sync/test/fake_server/sessions_hierarchy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698