Index: chrome/browser/services/gcm/fake_gcm_profile_service.h |
diff --git a/chrome/browser/services/gcm/fake_gcm_profile_service.h b/chrome/browser/services/gcm/fake_gcm_profile_service.h |
index 58ba184ceefdb073f4d396b2f84b4c07dda2a9f8..ce5907c13edf9d55e56716102a6bad48012bccec 100644 |
--- a/chrome/browser/services/gcm/fake_gcm_profile_service.h |
+++ b/chrome/browser/services/gcm/fake_gcm_profile_service.h |
@@ -8,6 +8,7 @@ |
#include <list> |
#include <vector> |
+#include "base/memory/scoped_ptr.h" |
#include "chrome/browser/services/gcm/gcm_profile_service.h" |
#include "components/gcm_driver/gcm_driver.h" |
@@ -24,7 +25,7 @@ class FakeGCMProfileService : public GCMProfileService { |
// Helper function to be used with |
// KeyedService::SetTestingFactory(). |
- static KeyedService* Build(content::BrowserContext* context); |
+ static scoped_ptr<KeyedService> Build(content::BrowserContext* context); |
explicit FakeGCMProfileService(Profile* profile); |
~FakeGCMProfileService() override; |