Index: chrome/browser/sync/profile_sync_service.cc |
diff --git a/chrome/browser/sync/profile_sync_service.cc b/chrome/browser/sync/profile_sync_service.cc |
index c7e4bbbfd48afd2382ff8bb891213f42459741b6..f1334f5b2e22fcbc8d20044369902ee82413ca3f 100644 |
--- a/chrome/browser/sync/profile_sync_service.cc |
+++ b/chrome/browser/sync/profile_sync_service.cc |
@@ -54,9 +54,9 @@ |
#include "chrome/browser/ui/browser_window.h" |
#include "chrome/browser/ui/global_error/global_error_service.h" |
#include "chrome/browser/ui/global_error/global_error_service_factory.h" |
+#include "chrome/common/channel_info.h" |
#include "chrome/common/chrome_switches.h" |
#include "chrome/common/pref_names.h" |
-#include "chrome/common/sync_util.h" |
#include "chrome/common/url_constants.h" |
#include "chrome/grit/generated_resources.h" |
#include "components/autofill/core/common/autofill_pref_names.h" |
@@ -75,6 +75,7 @@ |
#include "components/sync_driver/pref_names.h" |
#include "components/sync_driver/sync_error_controller.h" |
#include "components/sync_driver/sync_stopped_reporter.h" |
+#include "components/sync_driver/sync_util.h" |
#include "components/sync_driver/system_encryptor.h" |
#include "components/sync_driver/user_selectable_sync_type.h" |
#include "components/version_info/version_info_values.h" |
@@ -216,7 +217,8 @@ ProfileSyncService::ProfileSyncService( |
profile_(profile), |
sync_prefs_(profile_->GetPrefs()), |
sync_service_url_( |
- GetSyncServiceURL(*base::CommandLine::ForCurrentProcess())), |
+ GetSyncServiceURL(*base::CommandLine::ForCurrentProcess(), |
+ chrome::GetChannel())), |
is_first_time_sync_configure_(false), |
backend_initialized_(false), |
sync_disabled_by_admin_(false), |