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

Unified Diff: chrome/test/live_sync/live_bookmarks_sync_test.cc

Issue 7171003: Performance tests for bookmark sync. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Adding TCM IDs Created 9 years, 6 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/live_sync/live_bookmarks_sync_test.h ('k') | chrome/test/live_sync/live_sync_timing_helper.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/live_sync/live_bookmarks_sync_test.cc
diff --git a/chrome/test/live_sync/live_bookmarks_sync_test.cc b/chrome/test/live_sync/live_bookmarks_sync_test.cc
index 89341814ea3cdaa0aaf618cd1bc1b96c2d4ea7c8..3dd4a505dd6c221bb857a4b26f1be99adbae59fc 100644
--- a/chrome/test/live_sync/live_bookmarks_sync_test.cc
+++ b/chrome/test/live_sync/live_bookmarks_sync_test.cc
@@ -4,6 +4,7 @@
#include "chrome/test/live_sync/live_bookmarks_sync_test.h"
+#include "base/stringprintf.h"
#include "base/utf_string_conversions.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/test/ui_test_utils.h"
@@ -263,3 +264,23 @@ std::vector<unsigned char> LiveBookmarksSyncTest::CreateFavicon(int seed) {
gfx::PNGCodec::EncodeBGRASkBitmap(bmp, false, &favicon);
return favicon;
}
+
+std::string LiveBookmarksSyncTest::IndexedURL(int i) {
+ return StringPrintf("http://www.host.ext:1234/path/filename/%d", i);
+}
+
+std::wstring LiveBookmarksSyncTest::IndexedURLTitle(int i) {
+ return StringPrintf(L"URL Title %d", i);
+}
+
+std::wstring LiveBookmarksSyncTest::IndexedFolderName(int i) {
+ return StringPrintf(L"Folder Name %d", i);
+}
+
+std::wstring LiveBookmarksSyncTest::IndexedSubfolderName(int i) {
+ return StringPrintf(L"Subfolder Name %d", i);
+}
+
+std::wstring LiveBookmarksSyncTest::IndexedSubsubfolderName(int i) {
+ return StringPrintf(L"Subsubfolder Name %d", i);
+}
« no previous file with comments | « chrome/test/live_sync/live_bookmarks_sync_test.h ('k') | chrome/test/live_sync/live_sync_timing_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698