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

Unified Diff: components/feedback/feedback_uploader_unittest.cc

Issue 2562733003: Remove duplicated user_prefs::TestingPrefServiceSyncable (Closed)
Patch Set: Fixed usage from .mm files Created 4 years 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 | « components/feedback/DEPS ('k') | components/invalidation/impl/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « components/feedback/DEPS ('k') | components/invalidation/impl/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698