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

Unified Diff: extensions/browser/api/runtime/restart_after_delay_api_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 | « extensions/browser/DEPS ('k') | extensions/browser/api_unittest.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/api/runtime/restart_after_delay_api_unittest.cc
diff --git a/extensions/browser/api/runtime/restart_after_delay_api_unittest.cc b/extensions/browser/api/runtime/restart_after_delay_api_unittest.cc
index dca40a91b5270d1f592439e071bbd88147ad2381..1795eaeb0a41302362e4e9beff20f905b4b1f889 100644
--- a/extensions/browser/api/runtime/restart_after_delay_api_unittest.cc
+++ b/extensions/browser/api/runtime/restart_after_delay_api_unittest.cc
@@ -5,7 +5,7 @@
#include "base/callback_helpers.h"
#include "base/run_loop.h"
#include "components/pref_registry/pref_registry_syncable.h"
-#include "components/pref_registry/testing_pref_service_syncable.h"
+#include "components/sync_preferences/testing_pref_service_syncable.h"
#include "extensions/browser/api/runtime/runtime_api.h"
#include "extensions/browser/api_test_utils.h"
#include "extensions/browser/api_unittest.h"
@@ -72,7 +72,7 @@ class DelayedRestartExtensionsBrowserClient
return base::WrapUnique(api_delegate_);
}
- user_prefs::TestingPrefServiceSyncable* testing_pref_service() {
+ sync_preferences::TestingPrefServiceSyncable* testing_pref_service() {
return &testing_pref_service_;
}
@@ -84,7 +84,7 @@ class DelayedRestartExtensionsBrowserClient
private:
DelayedRestartTestApiDelegate* api_delegate_ = nullptr; // Not owned.
- user_prefs::TestingPrefServiceSyncable testing_pref_service_;
+ sync_preferences::TestingPrefServiceSyncable testing_pref_service_;
DISALLOW_COPY_AND_ASSIGN(DelayedRestartExtensionsBrowserClient);
};
« no previous file with comments | « extensions/browser/DEPS ('k') | extensions/browser/api_unittest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698