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

Side by Side Diff: chrome/browser/signin/fake_gaia_cookie_manager_service.h

Issue 1545223002: Switch to standard integer types in chrome/browser/, part 4 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 4 years, 12 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 #ifndef CHROME_BROWSER_SIGNIN_FAKE_GAIA_COOKIE_MANAGER_SERVICE_H_ 4 #ifndef CHROME_BROWSER_SIGNIN_FAKE_GAIA_COOKIE_MANAGER_SERVICE_H_
5 #define CHROME_BROWSER_SIGNIN_FAKE_GAIA_COOKIE_MANAGER_SERVICE_H_ 5 #define CHROME_BROWSER_SIGNIN_FAKE_GAIA_COOKIE_MANAGER_SERVICE_H_
6 6
7 #include "components/signin/core/browser/gaia_cookie_manager_service.h" 7 #include "components/signin/core/browser/gaia_cookie_manager_service.h"
8 8
9 #include "base/macros.h"
9 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
10 #include "net/url_request/test_url_fetcher_factory.h" 11 #include "net/url_request/test_url_fetcher_factory.h"
11 12
12 namespace content { 13 namespace content {
13 class BrowserContext; 14 class BrowserContext;
14 } 15 }
15 16
16 class FakeGaiaCookieManagerService : public GaiaCookieManagerService { 17 class FakeGaiaCookieManagerService : public GaiaCookieManagerService {
17 public: 18 public:
18 FakeGaiaCookieManagerService(OAuth2TokenService* token_service, 19 FakeGaiaCookieManagerService(OAuth2TokenService* token_service,
(...skipping 23 matching lines...) Expand all
42 static scoped_ptr<KeyedService> Build(content::BrowserContext* context); 43 static scoped_ptr<KeyedService> Build(content::BrowserContext* context);
43 44
44 private: 45 private:
45 // Provide a fake response for calls to /ListAccounts. 46 // Provide a fake response for calls to /ListAccounts.
46 net::FakeURLFetcherFactory* url_fetcher_factory_; 47 net::FakeURLFetcherFactory* url_fetcher_factory_;
47 48
48 DISALLOW_COPY_AND_ASSIGN(FakeGaiaCookieManagerService); 49 DISALLOW_COPY_AND_ASSIGN(FakeGaiaCookieManagerService);
49 }; 50 };
50 51
51 #endif // CHROME_BROWSER_SIGNIN_FAKE_GAIA_COOKIE_MANAGER_SERVICE_H_ 52 #endif // CHROME_BROWSER_SIGNIN_FAKE_GAIA_COOKIE_MANAGER_SERVICE_H_
OLDNEW
« no previous file with comments | « chrome/browser/signin/easy_unlock_service_unittest_chromeos.cc ('k') | chrome/browser/signin/fake_signin_manager_builder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698