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

Side by Side 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 2nd round of 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 unified diff | Download patch
« no previous file with comments | « remoting/remoting_test.gypi ('k') | remoting/test/access_token_fetcher.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 REMOTING_TEST_ACCESS_TOKEN_FETCHER_H_ 5 #ifndef REMOTING_TEST_ACCESS_TOKEN_FETCHER_H_
6 #define REMOTING_TEST_ACCESS_TOKEN_FETCHER_H_ 6 #define REMOTING_TEST_ACCESS_TOKEN_FETCHER_H_
7 7
8 #include <string>
9
8 #include "base/callback.h" 10 #include "base/callback.h"
9 #include "base/memory/ref_counted.h" 11 #include "base/memory/ref_counted.h"
10 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
11 #include "google_apis/gaia/gaia_oauth_client.h" 13 #include "google_apis/gaia/gaia_oauth_client.h"
12 14
13 namespace remoting { 15 namespace remoting {
14 namespace test { 16 namespace test {
15 17
16 // Supplied by the client for each request to GAIA and returns valid tokens on 18 // Supplied by the client for each request to GAIA and returns valid tokens on
17 // success or empty tokens on failure. 19 // success or empty tokens on failure.
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 // Used to make token requests to GAIA. 79 // Used to make token requests to GAIA.
78 scoped_ptr<gaia::GaiaOAuthClient> auth_client_; 80 scoped_ptr<gaia::GaiaOAuthClient> auth_client_;
79 81
80 DISALLOW_COPY_AND_ASSIGN(AccessTokenFetcher); 82 DISALLOW_COPY_AND_ASSIGN(AccessTokenFetcher);
81 }; 83 };
82 84
83 } // namespace test 85 } // namespace test
84 } // namespace remoting 86 } // namespace remoting
85 87
86 #endif // REMOTING_TEST_ACCESS_TOKEN_FETCHER_H_ 88 #endif // REMOTING_TEST_ACCESS_TOKEN_FETCHER_H_
OLDNEW
« no previous file with comments | « remoting/remoting_test.gypi ('k') | remoting/test/access_token_fetcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698