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

Unified Diff: remoting/test/access_token_fetcher.cc

Issue 1037723003: Updated the formatting for the app remoting test driver files using clag-format for consistency. N… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/test/access_token_fetcher.h ('k') | remoting/test/app_remoting_connected_client_fixture.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/test/access_token_fetcher.cc
diff --git a/remoting/test/access_token_fetcher.cc b/remoting/test/access_token_fetcher.cc
index 8f3406e00be1396ab18cf287620c91ae2170fb11..4fa690e74a299542c514c75bc7d4c8474ba29a70 100644
--- a/remoting/test/access_token_fetcher.cc
+++ b/remoting/test/access_token_fetcher.cc
@@ -33,7 +33,8 @@ AccessTokenFetcher::AccessTokenFetcher() {
kOauthRedirectUrl};
}
-AccessTokenFetcher::~AccessTokenFetcher() {}
+AccessTokenFetcher::~AccessTokenFetcher() {
+}
void AccessTokenFetcher::GetAccessTokenFromAuthCode(
const std::string& auth_code,
@@ -70,12 +71,10 @@ void AccessTokenFetcher::GetAccessTokenFromRefreshToken(
// Create a new GaiaOAuthClient for each request to GAIA.
CreateNewGaiaOAuthClientInstance();
- auth_client_->RefreshToken(
- oauth_client_info_,
- refresh_token_,
- std::vector<std::string>(), // scopes
- kMaxGetTokensRetries,
- this); // GaiaOAuthClient::Delegate* delegate
+ auth_client_->RefreshToken(oauth_client_info_, refresh_token_,
+ std::vector<std::string>(), // scopes
+ kMaxGetTokensRetries,
+ this); // GaiaOAuthClient::Delegate* delegate
}
void AccessTokenFetcher::CreateNewGaiaOAuthClientInstance() {
@@ -180,10 +179,8 @@ void AccessTokenFetcher::ValidateAccessToken() {
// Create a new GaiaOAuthClient for each request to GAIA.
CreateNewGaiaOAuthClientInstance();
- auth_client_->GetTokenInfo(
- access_token_,
- kMaxGetTokensRetries,
- this); // GaiaOAuthClient::Delegate* delegate
+ auth_client_->GetTokenInfo(access_token_, kMaxGetTokensRetries,
+ this); // GaiaOAuthClient::Delegate* delegate
}
} // namespace test
« no previous file with comments | « remoting/test/access_token_fetcher.h ('k') | remoting/test/app_remoting_connected_client_fixture.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698