Index: chrome/browser/sync/profile_sync_service_session_unittest.cc |
diff --git a/chrome/browser/sync/profile_sync_service_session_unittest.cc b/chrome/browser/sync/profile_sync_service_session_unittest.cc |
index 284ad450d58db4cdd95b9920ed6915783fd97f64..fa0fba5cc0b741f585102368fa4956962f421def 100644 |
--- a/chrome/browser/sync/profile_sync_service_session_unittest.cc |
+++ b/chrome/browser/sync/profile_sync_service_session_unittest.cc |
@@ -45,7 +45,6 @@ |
#include "sync/internal_api/public/write_transaction.h" |
#include "sync/protocol/session_specifics.pb.h" |
#include "sync/protocol/sync.pb.h" |
-#include "sync/test/engine/test_id_factory.h" |
#include "testing/gmock/include/gmock/gmock.h" |
#include "testing/gtest/include/gtest/gtest.h" |
#include "ui/base/ui_base_types.h" |
@@ -58,7 +57,6 @@ using content::BrowserThread; |
using syncer::ChangeRecord; |
using testing::_; |
using testing::Return; |
-using syncer::TestIdFactory; |
namespace browser_sync { |
@@ -160,8 +158,6 @@ class ProfileSyncServiceSessionTest |
notified_of_refresh_(false) {} |
ProfileSyncService* sync_service() { return sync_service_.get(); } |
- TestIdFactory* ids() { return sync_service_->id_factory(); } |
- |
protected: |
virtual TestingProfile* CreateProfile() OVERRIDE { |
TestingProfile* profile = new TestingProfile(); |
@@ -288,7 +284,7 @@ class CreateRootHelper { |
private: |
void CreateRootCallback(ProfileSyncServiceSessionTest* test) { |
success_ = ProfileSyncServiceTestHelper::CreateRoot( |
- syncer::SESSIONS, test->sync_service()->GetUserShare(), test->ids()); |
+ syncer::SESSIONS, test->sync_service()->GetUserShare()); |
} |
base::Closure callback_; |