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

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

Issue 1366123002: Cleanup: IWYU for base/gtest_prod_util.h. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gtest_iwyu
Patch Set: more lint Created 5 years, 2 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/threading/non_thread_safe.h" 10 #include "base/threading/non_thread_safe.h"
10 #include "google_apis/gaia/oauth2_api_call_flow.h" 11 #include "google_apis/gaia/oauth2_api_call_flow.h"
11 #include "google_apis/gaia/oauth2_token_service.h" 12 #include "google_apis/gaia/oauth2_token_service.h"
12 13
13 class PrefService; 14 class PrefService;
14 class SigninClient; 15 class SigninClient;
15 16
16 // RefreshTokenAnnotationRequest sends request to IssueToken endpoint with 17 // RefreshTokenAnnotationRequest sends request to IssueToken endpoint with
17 // device_id to backfill device info for refresh tokens issued pre-M38. It is 18 // device_id to backfill device info for refresh tokens issued pre-M38. It is
18 // important to keep server QPS low therefore this request is sent on average 19 // 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
77 std::string device_id_; 78 std::string device_id_;
78 std::string client_id_; 79 std::string client_id_;
79 base::Closure request_callback_; 80 base::Closure request_callback_;
80 81
81 scoped_ptr<OAuth2TokenService::Request> access_token_request_; 82 scoped_ptr<OAuth2TokenService::Request> access_token_request_;
82 83
83 DISALLOW_COPY_AND_ASSIGN(RefreshTokenAnnotationRequest); 84 DISALLOW_COPY_AND_ASSIGN(RefreshTokenAnnotationRequest);
84 }; 85 };
85 86
86 #endif // COMPONENTS_SIGNIN_CORE_BROWSER_REFRESH_TOKEN_ANNOTATION_REQUEST_H_ 87 #endif // COMPONENTS_SIGNIN_CORE_BROWSER_REFRESH_TOKEN_ANNOTATION_REQUEST_H_
OLDNEW
« no previous file with comments | « components/signin/core/browser/account_reconcilor.h ('k') | components/signin/core/browser/signin_manager_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698