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

Unified Diff: components/browser_sync/profile_sync_service_autofill_unittest.cc

Issue 2354613002: [Sync] Fix namespaces for the browser_sync component. (Closed)
Patch Set: Address comments. Created 4 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: components/browser_sync/profile_sync_service_autofill_unittest.cc
diff --git a/components/browser_sync/profile_sync_service_autofill_unittest.cc b/components/browser_sync/profile_sync_service_autofill_unittest.cc
index e17b08a670fa9fa704ef84ed8dfd6fb75b47e1ea..592a4168f5466e9bcd457d3c0960947d3345cd23 100644
--- a/components/browser_sync/profile_sync_service_autofill_unittest.cc
+++ b/components/browser_sync/profile_sync_service_autofill_unittest.cc
@@ -77,8 +77,6 @@ using base::ASCIIToUTF16;
using base::Time;
using base::TimeDelta;
using base::WaitableEvent;
-using browser_sync::AutofillDataTypeController;
-using browser_sync::AutofillProfileDataTypeController;
using syncer::AUTOFILL;
using syncer::AUTOFILL_PROFILE;
using syncer::BaseNode;
@@ -95,6 +93,8 @@ using testing::Not;
using testing::SetArgumentPointee;
using testing::Return;
+namespace browser_sync {
+
namespace {
void RegisterAutofillPrefs(user_prefs::PrefRegistrySyncable* registry) {
@@ -424,7 +424,7 @@ class ProfileSyncServiceAutofillTest
web_data_service_->StartSyncableService();
- browser_sync::ProfileSyncServiceBundle::SyncClientBuilder builder(
+ ProfileSyncServiceBundle::SyncClientBuilder builder(
profile_sync_service_bundle());
builder.SetPersonalDataManager(personal_data_manager_.get());
builder.SetSyncServiceCallback(GetSyncServiceCallback());
@@ -1470,3 +1470,5 @@ TEST_F(ProfileSyncServiceAutofillTest, ServerChangeRace) {
<< sync_entries[i].key().value();
}
}
+
+} // namespace browser_sync
« no previous file with comments | « components/browser_sync/profile_sync_service.cc ('k') | components/browser_sync/profile_sync_service_bookmark_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698