Index: components/feedback/feedback_uploader_unittest.cc |
diff --git a/components/feedback/feedback_uploader_unittest.cc b/components/feedback/feedback_uploader_unittest.cc |
index c4bcb6189f4367091d91720fb1444b33ab6aa0ce..17a6ec5b9357f09bc8fa6c4be6438d718de90d84 100644 |
--- a/components/feedback/feedback_uploader_unittest.cc |
+++ b/components/feedback/feedback_uploader_unittest.cc |
@@ -17,7 +17,7 @@ |
#include "build/build_config.h" |
#include "components/feedback/feedback_uploader_chrome.h" |
#include "components/feedback/feedback_uploader_factory.h" |
-#include "components/pref_registry/testing_pref_service_syncable.h" |
+#include "components/sync_preferences/testing_pref_service_syncable.h" |
#include "components/user_prefs/user_prefs.h" |
#include "content/public/test/test_browser_context.h" |
#include "content/public/test/test_browser_thread.h" |
@@ -47,11 +47,11 @@ namespace feedback { |
class FeedbackUploaderTest : public testing::Test { |
protected: |
FeedbackUploaderTest() |
- : ui_thread_(content::BrowserThread::UI, &message_loop_), |
- context_(new content::TestBrowserContext()), |
- prefs_(new user_prefs::TestingPrefServiceSyncable()), |
- dispatched_reports_count_(0), |
- expected_reports_(0) { |
+ : ui_thread_(content::BrowserThread::UI, &message_loop_), |
+ context_(new content::TestBrowserContext()), |
+ prefs_(new sync_preferences::TestingPrefServiceSyncable()), |
+ dispatched_reports_count_(0), |
+ expected_reports_(0) { |
user_prefs::UserPrefs::Set(context_.get(), prefs_.get()); |
FeedbackUploaderFactory::GetInstance()->SetTestingFactory( |
context_.get(), &CreateFeedbackUploaderService); |