| Index: chrome/browser/ui/ash/app_sync_ui_state.cc
|
| diff --git a/chrome/browser/ui/ash/app_sync_ui_state.cc b/chrome/browser/ui/ash/app_sync_ui_state.cc
|
| index 25457f3a3e7bcd4130e054383ffb475e05f30faa..25e44d7f39ac9b80ec45711973ddce808f8f4e99 100644
|
| --- a/chrome/browser/ui/ash/app_sync_ui_state.cc
|
| +++ b/chrome/browser/ui/ash/app_sync_ui_state.cc
|
| @@ -5,6 +5,7 @@
|
| #include "chrome/browser/ui/ash/app_sync_ui_state.h"
|
|
|
| #include "chrome/browser/extensions/extension_service.h"
|
| +#include "chrome/browser/extensions/extension_system.h"
|
| #include "chrome/browser/extensions/pending_extension_manager.h"
|
| #include "chrome/browser/prefs/pref_service.h"
|
| #include "chrome/browser/profiles/profile.h"
|
| @@ -122,8 +123,9 @@ void AppSyncUIState::CheckAppSync() {
|
| return;
|
|
|
| const bool synced = sync_service_->ShouldPushChanges();
|
| - const bool has_pending_extension = profile_->GetExtensionService()->
|
| - pending_extension_manager()->HasPendingExtensionFromSync();
|
| + const bool has_pending_extension =
|
| + extensions::ExtensionSystem::Get(profile_)->extension_service()->
|
| + pending_extension_manager()->HasPendingExtensionFromSync();
|
|
|
| if (synced && !has_pending_extension)
|
| SetStatus(STATUS_NORMAL);
|
|
|