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

Unified Diff: remoting/test/access_token_fetcher.h

Issue 1008043003: Adding Test Fixture for initial test cases for the App Remoting Test Driver. Also includes the pub… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressing Wez's feedback 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
Index: remoting/test/access_token_fetcher.h
diff --git a/remoting/test/access_token_fetcher.h b/remoting/test/access_token_fetcher.h
index 2452e9ae6b84b28d5b1db07caafdb05d1272bd20..e34a2a9fafe8a5a1efb7b3235af46cb04ae79b50 100644
--- a/remoting/test/access_token_fetcher.h
+++ b/remoting/test/access_token_fetcher.h
@@ -5,6 +5,9 @@
#ifndef REMOTING_TEST_ACCESS_TOKEN_FETCHER_H_
#define REMOTING_TEST_ACCESS_TOKEN_FETCHER_H_
+#include <string>
+#include <vector>
+
#include "base/callback.h"
#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
@@ -70,6 +73,9 @@ class AccessTokenFetcher : public gaia::GaiaOAuthClient::Delegate {
// Supplied by the caller or retrieved from a caller-supplied auth token.
std::string refresh_token_;
+ // Contains the scopes needed when requesting an access token from GAIA.
+ std::vector<std::string> oauth_scopes_vector_;
Wez 2015/03/21 00:14:01 These seem to be used only in the refresh token ->
joedow 2015/03/21 01:23:59 Wow, great catch. You are correct, This is not ne
+
// Holds the client id, secret, and redirect url used to make
// the Gaia service request.
gaia::OAuthClientInfo oauth_client_info_;

Powered by Google App Engine
This is Rietveld 408576698