| Index: chrome/browser/supervised_user/supervised_user_registration_utility.cc
|
| diff --git a/chrome/browser/supervised_user/supervised_user_registration_utility.cc b/chrome/browser/supervised_user/supervised_user_registration_utility.cc
|
| index c1eb8b09f754271cf39868f0c0ed918f71f088b0..0f582436a1ff87f338aceb658226cf83cf5badc0 100644
|
| --- a/chrome/browser/supervised_user/supervised_user_registration_utility.cc
|
| +++ b/chrome/browser/supervised_user/supervised_user_registration_utility.cc
|
| @@ -22,14 +22,15 @@
|
| #include "chrome/browser/supervised_user/supervised_user_shared_settings_update.h"
|
| #include "chrome/browser/supervised_user/supervised_user_sync_service.h"
|
| #include "chrome/browser/supervised_user/supervised_user_sync_service_factory.h"
|
| -#include "chrome/browser/sync/glue/device_info.h"
|
| #include "chrome/common/chrome_switches.h"
|
| #include "chrome/common/pref_names.h"
|
| #include "components/signin/core/browser/profile_oauth2_token_service.h"
|
| #include "components/signin/core/browser/signin_client.h"
|
| #include "components/signin/core/browser/signin_manager.h"
|
| +#include "content/public/browser/browser_thread.h"
|
| #include "google_apis/gaia/gaia_urls.h"
|
| #include "google_apis/gaia/google_service_auth_error.h"
|
| +#include "sync/util/get_session_name.h"
|
|
|
| using base::DictionaryValue;
|
|
|
| @@ -304,7 +305,8 @@ void SupervisedUserRegistrationUtilityImpl::Register(
|
| weak_ptr_factory_.GetWeakPtr())));
|
| }
|
|
|
| - browser_sync::DeviceInfo::GetClientName(
|
| + syncer::GetSessionName(
|
| + content::BrowserThread::GetBlockingPool(),
|
| base::Bind(&SupervisedUserRegistrationUtilityImpl::FetchToken,
|
| weak_ptr_factory_.GetWeakPtr()));
|
| }
|
|
|