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

Side by Side Diff: components/signin/core/browser/child_account_info_fetcher.h

Issue 1551433002: Switch to standard integer types in components/, part 3 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more 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 4
5 #ifndef COMPONENTS_SIGNIN_CORE_BROWSER_CHILD_ACCOUNT_INFO_FETCHER_H_ 5 #ifndef COMPONENTS_SIGNIN_CORE_BROWSER_CHILD_ACCOUNT_INFO_FETCHER_H_
6 #define COMPONENTS_SIGNIN_CORE_BROWSER_CHILD_ACCOUNT_INFO_FETCHER_H_ 6 #define COMPONENTS_SIGNIN_CORE_BROWSER_CHILD_ACCOUNT_INFO_FETCHER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "build/build_config.h"
11
10 #if defined(OS_ANDROID) 12 #if defined(OS_ANDROID)
11 #include <jni.h> 13 #include <jni.h>
12 #endif 14 #endif
13 15
14 namespace invalidation { 16 namespace invalidation {
15 class InvalidationService; 17 class InvalidationService;
16 } 18 }
17 namespace net { 19 namespace net {
18 class URLRequestContextGetter; 20 class URLRequestContextGetter;
19 } 21 }
20 class AccountFetcherService; 22 class AccountFetcherService;
21 class OAuth2TokenService; 23 class OAuth2TokenService;
22 24
23 class ChildAccountInfoFetcher { 25 class ChildAccountInfoFetcher {
24 public: 26 public:
25 // Caller takes ownership of the fetcher and keeps it alive in order to 27 // Caller takes ownership of the fetcher and keeps it alive in order to
26 // receive updates except on Android where the return value is a nullptr 28 // receive updates except on Android where the return value is a nullptr
27 // and there are no updates due to a stale OS cache. 29 // and there are no updates due to a stale OS cache.
28 static ChildAccountInfoFetcher* CreateFrom( 30 static ChildAccountInfoFetcher* CreateFrom(
29 const std::string& account_id, 31 const std::string& account_id,
30 AccountFetcherService* fetcher_service, 32 AccountFetcherService* fetcher_service,
31 OAuth2TokenService* token_service, 33 OAuth2TokenService* token_service,
32 net::URLRequestContextGetter* request_context_getter, 34 net::URLRequestContextGetter* request_context_getter,
33 invalidation::InvalidationService* invalidation_service); 35 invalidation::InvalidationService* invalidation_service);
34 virtual ~ChildAccountInfoFetcher(); 36 virtual ~ChildAccountInfoFetcher();
35 }; 37 };
36 38
37 #endif // COMPONENTS_SIGNIN_CORE_BROWSER_CHILD_ACCOUNT_INFO_FETCHER_H_ 39 #endif // COMPONENTS_SIGNIN_CORE_BROWSER_CHILD_ACCOUNT_INFO_FETCHER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698