Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(108)

Unified Diff: chrome/browser/signin/fake_gaia_cookie_manager_service.h

Issue 1165913002: [Cleanup] Used scoped pointers in KeyedServiceFactory's SetTestingFactory functions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/signin/fake_gaia_cookie_manager_service.h
diff --git a/chrome/browser/signin/fake_gaia_cookie_manager_service.h b/chrome/browser/signin/fake_gaia_cookie_manager_service.h
index 532148213abf4e5dd042d45d0f40a6ccb39bad69..45bcce27017243e06c08af5a32b6db81dcd3ce46 100644
--- a/chrome/browser/signin/fake_gaia_cookie_manager_service.h
+++ b/chrome/browser/signin/fake_gaia_cookie_manager_service.h
@@ -6,6 +6,7 @@
#include "components/signin/core/browser/gaia_cookie_manager_service.h"
+#include "base/memory/scoped_ptr.h"
#include "net/url_request/test_url_fetcher_factory.h"
namespace content {
@@ -33,7 +34,7 @@ class FakeGaiaCookieManagerService : public GaiaCookieManagerService {
const char* account2, bool account2_expired);
// Helper function to be used with KeyedService::SetTestingFactory().
- static KeyedService* Build(content::BrowserContext* context);
+ static scoped_ptr<KeyedService> Build(content::BrowserContext* context);
private:
// Provide a fake response for calls to /ListAccounts.

Powered by Google App Engine
This is Rietveld 408576698