Index: chrome/browser/sync/profile_sync_service_mock.h |
diff --git a/chrome/browser/sync/profile_sync_service_mock.h b/chrome/browser/sync/profile_sync_service_mock.h |
index 0cc34d7811663a57822facd2afaf810e77cf4113..7add4c2453bca4f2c03d6d807ce3b9fb9a0e021b 100644 |
--- a/chrome/browser/sync/profile_sync_service_mock.h |
+++ b/chrome/browser/sync/profile_sync_service_mock.h |
@@ -8,6 +8,7 @@ |
#include <string> |
#include <vector> |
+#include "base/memory/scoped_ptr.h" |
#include "base/memory/weak_ptr.h" |
#include "base/strings/string16.h" |
#include "chrome/browser/sync/profile_sync_service.h" |
@@ -35,7 +36,7 @@ class ProfileSyncServiceMock : public ProfileSyncService { |
// Helper routine to be used in conjunction with |
// BrowserContextKeyedServiceFactory::SetTestingFactory(). |
- static KeyedService* BuildMockProfileSyncService( |
+ static scoped_ptr<KeyedService> BuildMockProfileSyncService( |
content::BrowserContext* profile); |
MOCK_METHOD0(DisableForUser, void()); |