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

Unified Diff: chrome/browser/extensions/api/signed_in_devices/signed_in_devices_manager.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: chrome/browser/extensions/api/signed_in_devices/signed_in_devices_manager.cc
diff --git a/chrome/browser/extensions/api/signed_in_devices/signed_in_devices_manager.cc b/chrome/browser/extensions/api/signed_in_devices/signed_in_devices_manager.cc
index d80e5487b8b52b0aa7aa27248c8b342ccc121f0a..7ec71a62cf339cd0a383e8b1e53f19688d5cf249 100644
--- a/chrome/browser/extensions/api/signed_in_devices/signed_in_devices_manager.cc
+++ b/chrome/browser/extensions/api/signed_in_devices/signed_in_devices_manager.cc
@@ -43,7 +43,8 @@ SignedInDevicesChangeObserver::SignedInDevicesChangeObserver(
const std::string& extension_id,
Profile* profile) : extension_id_(extension_id),
profile_(profile) {
- ProfileSyncService* pss = ProfileSyncServiceFactory::GetForProfile(profile_);
+ browser_sync::ProfileSyncService* pss =
+ ProfileSyncServiceFactory::GetForProfile(profile_);
if (pss) {
DCHECK(pss->GetDeviceInfoTracker());
pss->GetDeviceInfoTracker()->AddObserver(this);
@@ -51,7 +52,8 @@ SignedInDevicesChangeObserver::SignedInDevicesChangeObserver(
}
SignedInDevicesChangeObserver::~SignedInDevicesChangeObserver() {
- ProfileSyncService* pss = ProfileSyncServiceFactory::GetForProfile(profile_);
+ browser_sync::ProfileSyncService* pss =
+ ProfileSyncServiceFactory::GetForProfile(profile_);
if (pss) {
DCHECK(pss->GetDeviceInfoTracker());
pss->GetDeviceInfoTracker()->RemoveObserver(this);

Powered by Google App Engine
This is Rietveld 408576698