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

Unified Diff: chrome/browser/sync/test/integration/bookmarks_helper.h

Issue 772513004: Add new E2E sync multi profiles tests. This should not affect any existing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nits Created 6 years 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
Index: chrome/browser/sync/test/integration/bookmarks_helper.h
diff --git a/chrome/browser/sync/test/integration/bookmarks_helper.h b/chrome/browser/sync/test/integration/bookmarks_helper.h
index 036a3909db0e352d61574b09a7df57cb413716a6..dcdbc45f6690197fff4dd7141a282c8fc6e581b9 100644
--- a/chrome/browser/sync/test/integration/bookmarks_helper.h
+++ b/chrome/browser/sync/test/integration/bookmarks_helper.h
@@ -135,6 +135,12 @@ void SortChildren(int profile, const BookmarkNode* parent);
// model of profile |profile|.
void ReverseChildOrder(int profile, const BookmarkNode* parent);
+// Sends sync refresh notification for bookmarks model set of profile |profile|.
Nicolas Zea 2014/12/11 19:45:34 nit: "bookmarks model set of" -> "bookmarks to" (h
shadi 2014/12/17 22:50:16 Done.
+void NotifyBookmarksSync(int profile);
+
+// Sends sync refresh notification for bookmarks model set to all profiles.
+void NotifyBookmarksSyncToAllProfiles();
+
// Checks if the bookmark model of profile |profile| matches the verifier
// bookmark model. Returns true if they match.
bool ModelMatchesVerifier(int profile) WARN_UNUSED_RESULT;
@@ -171,6 +177,9 @@ const BookmarkNode* GetUniqueNodeByURL(
int profile,
const GURL& url) WARN_UNUSED_RESULT;
+// Returns the number of bookmarks in bookmark model of profile |profile|.
+int CountAllBookmarks(int profile) WARN_UNUSED_RESULT;
+
// Returns the number of bookmarks in bookmark model of profile |profile|
// whose titles match the string |title|.
int CountBookmarksWithTitlesMatching(

Powered by Google App Engine
This is Rietveld 408576698