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

Unified Diff: chrome/browser/sync/profile_sync_service_bookmark_unittest.cc

Issue 10911073: NOT FOR COMMIT: Add DeviceInfo type and ChangeProcessor (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More fixes Created 8 years, 3 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/browser/sync/profile_sync_service_bookmark_unittest.cc
diff --git a/chrome/browser/sync/profile_sync_service_bookmark_unittest.cc b/chrome/browser/sync/profile_sync_service_bookmark_unittest.cc
index d20016ca943c861c96a44c5c6e73cefd8e831301..21d98726ff183184719bde9a84db6fb96fb507ed 100644
--- a/chrome/browser/sync/profile_sync_service_bookmark_unittest.cc
+++ b/chrome/browser/sync/profile_sync_service_bookmark_unittest.cc
@@ -38,7 +38,6 @@
#include "sync/internal_api/public/write_node.h"
#include "sync/internal_api/public/write_transaction.h"
#include "sync/syncable/mutable_entry.h" // TODO(tim): Remove. Bug 131130.
-#include "sync/test/engine/test_id_factory.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -87,11 +86,7 @@ class TestBookmarkModelAssociator : public BookmarkModelAssociator {
}
if (!root_exists) {
- bool created = ProfileSyncServiceTestHelper::CreateRoot(
- type,
- user_share_,
- &id_factory_);
- if (!created)
+ if (!ProfileSyncServiceTestHelper::CreateRoot(type, user_share_))
return false;
}
@@ -136,7 +131,6 @@ class TestBookmarkModelAssociator : public BookmarkModelAssociator {
private:
syncer::UserShare* user_share_;
- syncer::TestIdFactory id_factory_;
};
namespace {

Powered by Google App Engine
This is Rietveld 408576698