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

Side by Side Diff: chrome/browser/signin/token_service_unittest.h

Issue 9301003: Change X-Auto-Login implementation to use OAuth token. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Copyright. Created 8 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/signin/token_service_unittest.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // This file defines a unit test harness for the profile's token service. 5 // This file defines a unit test harness for the profile's token service.
6 6
7 #ifndef CHROME_BROWSER_SIGNIN_TOKEN_SERVICE_UNITTEST_H_ 7 #ifndef CHROME_BROWSER_SIGNIN_TOKEN_SERVICE_UNITTEST_H_
8 #define CHROME_BROWSER_SIGNIN_TOKEN_SERVICE_UNITTEST_H_ 8 #define CHROME_BROWSER_SIGNIN_TOKEN_SERVICE_UNITTEST_H_
9 #pragma once 9 #pragma once
10 10
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 virtual void SetUp() OVERRIDE; 65 virtual void SetUp() OVERRIDE;
66 66
67 virtual void TearDown() OVERRIDE; 67 virtual void TearDown() OVERRIDE;
68 68
69 void WaitForDBLoadCompletion(); 69 void WaitForDBLoadCompletion();
70 70
71 MessageLoopForUI message_loop_; 71 MessageLoopForUI message_loop_;
72 content::TestBrowserThread ui_thread_; // Mostly so DCHECKS pass. 72 content::TestBrowserThread ui_thread_; // Mostly so DCHECKS pass.
73 content::TestBrowserThread db_thread_; // WDS on here 73 content::TestBrowserThread db_thread_; // WDS on here
74 74
75 TokenService service_; 75 TokenService* service_;
76 TokenAvailableTracker success_tracker_; 76 TokenAvailableTracker success_tracker_;
77 TokenFailedTracker failure_tracker_; 77 TokenFailedTracker failure_tracker_;
78 GaiaAuthConsumer::ClientLoginResult credentials_; 78 GaiaAuthConsumer::ClientLoginResult credentials_;
79 std::string oauth_token_; 79 std::string oauth_token_;
80 std::string oauth_secret_; 80 std::string oauth_secret_;
81 scoped_ptr<TestingProfile> profile_; 81 scoped_ptr<TestingProfile> profile_;
82 }; 82 };
83 83
84 #endif // CHROME_BROWSER_SIGNIN_TOKEN_SERVICE_UNITTEST_H_ 84 #endif // CHROME_BROWSER_SIGNIN_TOKEN_SERVICE_UNITTEST_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/signin/token_service_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698