| Index: chrome/browser/services/gcm/gcm_profile_service_factory.cc
|
| diff --git a/chrome/browser/services/gcm/gcm_profile_service_factory.cc b/chrome/browser/services/gcm/gcm_profile_service_factory.cc
|
| index 2a5b4c5ec0031cc925b42aa9670a4a00b07b7503..24d739a2be1f14c89478864fea075cce9860d57a 100644
|
| --- a/chrome/browser/services/gcm/gcm_profile_service_factory.cc
|
| +++ b/chrome/browser/services/gcm/gcm_profile_service_factory.cc
|
| @@ -4,11 +4,14 @@
|
|
|
| #include "chrome/browser/services/gcm/gcm_profile_service_factory.h"
|
|
|
| +#include "base/memory/scoped_ptr.h"
|
| #include "chrome/browser/profiles/incognito_helpers.h"
|
| #include "chrome/browser/profiles/profile.h"
|
| #include "chrome/browser/services/gcm/gcm_client_factory.h"
|
| #include "chrome/browser/services/gcm/gcm_profile_service.h"
|
| +#include "chrome/browser/signin/profile_oauth2_token_service_factory.h"
|
| #include "chrome/browser/signin/signin_manager_factory.h"
|
| +#include "chrome/browser/ui/webui/signin/login_ui_service_factory.h"
|
| #include "components/keyed_service/content/browser_context_dependency_manager.h"
|
|
|
| namespace gcm {
|
| @@ -33,6 +36,8 @@ GCMProfileServiceFactory::GCMProfileServiceFactory()
|
| "GCMProfileService",
|
| BrowserContextDependencyManager::GetInstance()) {
|
| DependsOn(SigninManagerFactory::GetInstance());
|
| + DependsOn(ProfileOAuth2TokenServiceFactory::GetInstance());
|
| + DependsOn(LoginUIServiceFactory::GetInstance());
|
| }
|
|
|
| GCMProfileServiceFactory::~GCMProfileServiceFactory() {
|
|
|