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

Unified Diff: chrome/browser/ui/webui/ntp/ntp_user_data_logger.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/ui/webui/ntp/ntp_user_data_logger.cc
diff --git a/chrome/browser/ui/webui/ntp/ntp_user_data_logger.cc b/chrome/browser/ui/webui/ntp/ntp_user_data_logger.cc
index a535dba0dfa28fd90dd52d8efb1c11f4fba3de7f..2f951928ce058327bdeba6ea6ba98de201a02824 100644
--- a/chrome/browser/ui/webui/ntp/ntp_user_data_logger.cc
+++ b/chrome/browser/ui/webui/ntp/ntp_user_data_logger.cc
@@ -186,8 +186,9 @@ NTPUserDataLogger::NTPUserDataLogger(content::WebContents* contents)
// been used to populate the page, and we want to learn about its state when
// the NTP is being generated.
if (contents) {
- ProfileSyncService* sync = ProfileSyncServiceFactory::GetForProfile(
- Profile::FromBrowserContext(contents->GetBrowserContext()));
+ browser_sync::ProfileSyncService* sync =
+ ProfileSyncServiceFactory::GetForProfile(
+ Profile::FromBrowserContext(contents->GetBrowserContext()));
if (sync) {
sync_sessions::SessionsSyncManager* sessions =
static_cast<sync_sessions::SessionsSyncManager*>(
« no previous file with comments | « chrome/browser/ui/webui/foreign_session_handler.cc ('k') | chrome/browser/ui/webui/options/browser_options_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698