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

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: Fixing lint errors. 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
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..6d1933c5e329d27f70b54e59ccf7641ff8e0a7db 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,24 @@ 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);
Raghu Simha 2011/06/15 18:38:16 indent -= 2.
braffert 2011/06/16 00:59:24 All 5 fixed.
+}
+
+std::wstring LiveBookmarksSyncTest::IndexedURLTitle(int i) {
+ return StringPrintf(L"URL Title %d", i);
Raghu Simha 2011/06/15 18:38:16 indent -= 2.
+}
+
+std::wstring LiveBookmarksSyncTest::IndexedFolderName(int i) {
+ return StringPrintf(L"Folder Name %d", i);
Raghu Simha 2011/06/15 18:38:16 indent -= 2.
+}
+
+std::wstring LiveBookmarksSyncTest::IndexedSubfolderName(int i) {
+ return StringPrintf(L"Subfolder Name %d", i);
Raghu Simha 2011/06/15 18:38:16 indent -= 2.
+}
+
+std::wstring LiveBookmarksSyncTest::IndexedSubsubfolderName(int i) {
+ return StringPrintf(L"Subsubfolder Name %d", i);
Raghu Simha 2011/06/15 18:38:16 indent -= 2.
+}
+
Raghu Simha 2011/06/15 18:38:16 Delete extra blank line.
braffert 2011/06/16 00:59:24 Done.

Powered by Google App Engine
This is Rietveld 408576698