Home | History | Annotate | Download | only in performance

Lines Matching full:profile

27   // Adds |num_urls| new unique bookmarks to the bookmark bar for |profile|.
28 void AddURLs(int profile, int num_urls);
30 // Updates the URL for all bookmarks in the bookmark bar for |profile|.
31 void UpdateURLs(int profile);
33 // Removes all bookmarks in the bookmark bar for |profile|.
34 void RemoveURLs(int profile);
36 // Returns the number of bookmarks stored in the bookmark bar for |profile|.
37 int GetURLCount(int profile);
51 void BookmarksSyncPerfTest::AddURLs(int profile, int num_urls) {
54 profile, 0, NextIndexedURLTitle(), GURL(NextIndexedURL())) != NULL);
58 void BookmarksSyncPerfTest::UpdateURLs(int profile) {
60 i < GetBookmarkBarNode(profile)->child_count();
62 ASSERT_TRUE(SetURL(profile,
63 GetBookmarkBarNode(profile)->GetChild(i),
68 void BookmarksSyncPerfTest::RemoveURLs(int profile) {
69 while (!GetBookmarkBarNode(profile)->empty()) {
70 Remove(profile, GetBookmarkBarNode(profile), 0);
74 int BookmarksSyncPerfTest::GetURLCount(int profile) {
75 return GetBookmarkBarNode(profile)->child_count();