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

Side by Side Diff: google_apis/gaia/fake_oauth2_token_service_delegate.h

Issue 1548673002: Switch to standard integer types in google_apis/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 5 years 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
« no previous file with comments | « google_apis/gaia/fake_oauth2_token_service.h ('k') | google_apis/gaia/gaia_auth_fetcher.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 4
5 #ifndef CHROME_BROWSER_SIGNIN_FAKE_OAUTH2_TOKEN_SERVICE_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_SIGNIN_FAKE_OAUTH2_TOKEN_SERVICE_DELEGATE_H_
6 #define CHROME_BROWSER_SIGNIN_FAKE_OAUTH2_TOKEN_SERVICE_DELEGATE_H_ 6 #define CHROME_BROWSER_SIGNIN_FAKE_OAUTH2_TOKEN_SERVICE_DELEGATE_H_
7 7
8 #include "base/macros.h"
8 #include "base/memory/linked_ptr.h" 9 #include "base/memory/linked_ptr.h"
9 #include "google_apis/gaia/google_service_auth_error.h" 10 #include "google_apis/gaia/google_service_auth_error.h"
10 #include "google_apis/gaia/oauth2_token_service_delegate.h" 11 #include "google_apis/gaia/oauth2_token_service_delegate.h"
11 #include "net/url_request/url_request_context_getter.h" 12 #include "net/url_request/url_request_context_getter.h"
12 13
13 class FakeOAuth2TokenServiceDelegate : public OAuth2TokenServiceDelegate { 14 class FakeOAuth2TokenServiceDelegate : public OAuth2TokenServiceDelegate {
14 public: 15 public:
15 FakeOAuth2TokenServiceDelegate(net::URLRequestContextGetter* request_context); 16 FakeOAuth2TokenServiceDelegate(net::URLRequestContextGetter* request_context);
16 ~FakeOAuth2TokenServiceDelegate() override; 17 ~FakeOAuth2TokenServiceDelegate() override;
17 18
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 57
57 // Maps account ids to info. 58 // Maps account ids to info.
58 typedef std::map<std::string, linked_ptr<AccountInfo>> AccountInfoMap; 59 typedef std::map<std::string, linked_ptr<AccountInfo>> AccountInfoMap;
59 AccountInfoMap refresh_tokens_; 60 AccountInfoMap refresh_tokens_;
60 61
61 scoped_refptr<net::URLRequestContextGetter> request_context_; 62 scoped_refptr<net::URLRequestContextGetter> request_context_;
62 63
63 DISALLOW_COPY_AND_ASSIGN(FakeOAuth2TokenServiceDelegate); 64 DISALLOW_COPY_AND_ASSIGN(FakeOAuth2TokenServiceDelegate);
64 }; 65 };
65 #endif 66 #endif
OLDNEW
« no previous file with comments | « google_apis/gaia/fake_oauth2_token_service.h ('k') | google_apis/gaia/gaia_auth_fetcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698