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

Side by Side Diff: components/signin/core/browser/refresh_token_annotation_request.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, 11 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_REFRESH_TOKEN_ANNOTATION_REQUEST_H_ 5 #ifndef COMPONENTS_SIGNIN_CORE_BROWSER_REFRESH_TOKEN_ANNOTATION_REQUEST_H_
6 #define COMPONENTS_SIGNIN_CORE_BROWSER_REFRESH_TOKEN_ANNOTATION_REQUEST_H_ 6 #define COMPONENTS_SIGNIN_CORE_BROWSER_REFRESH_TOKEN_ANNOTATION_REQUEST_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/gtest_prod_util.h" 9 #include "base/gtest_prod_util.h"
10 #include "base/macros.h"
10 #include "base/threading/non_thread_safe.h" 11 #include "base/threading/non_thread_safe.h"
11 #include "google_apis/gaia/oauth2_api_call_flow.h" 12 #include "google_apis/gaia/oauth2_api_call_flow.h"
12 #include "google_apis/gaia/oauth2_token_service.h" 13 #include "google_apis/gaia/oauth2_token_service.h"
13 14
14 class PrefService; 15 class PrefService;
15 class SigninClient; 16 class SigninClient;
16 17
17 // RefreshTokenAnnotationRequest sends request to IssueToken endpoint with 18 // RefreshTokenAnnotationRequest sends request to IssueToken endpoint with
18 // device_id to backfill device info for refresh tokens issued pre-M38. It is 19 // device_id to backfill device info for refresh tokens issued pre-M38. It is
19 // important to keep server QPS low therefore this request is sent on average 20 // important to keep server QPS low therefore this request is sent on average
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 std::string device_id_; 79 std::string device_id_;
79 std::string client_id_; 80 std::string client_id_;
80 base::Closure request_callback_; 81 base::Closure request_callback_;
81 82
82 scoped_ptr<OAuth2TokenService::Request> access_token_request_; 83 scoped_ptr<OAuth2TokenService::Request> access_token_request_;
83 84
84 DISALLOW_COPY_AND_ASSIGN(RefreshTokenAnnotationRequest); 85 DISALLOW_COPY_AND_ASSIGN(RefreshTokenAnnotationRequest);
85 }; 86 };
86 87
87 #endif // COMPONENTS_SIGNIN_CORE_BROWSER_REFRESH_TOKEN_ANNOTATION_REQUEST_H_ 88 #endif // COMPONENTS_SIGNIN_CORE_BROWSER_REFRESH_TOKEN_ANNOTATION_REQUEST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698