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

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

Issue 19479003: Use a direct include of the message_loop header in chrome/browser/, part 10. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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
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 9
10 #include "base/message_loop.h" 10 #include "base/message_loop/message_loop.h"
11 #include "base/synchronization/waitable_event.h" 11 #include "base/synchronization/waitable_event.h"
12 #include "chrome/browser/signin/token_service.h" 12 #include "chrome/browser/signin/token_service.h"
13 #include "chrome/test/base/testing_profile.h" 13 #include "chrome/test/base/testing_profile.h"
14 #include "content/public/browser/notification_details.h" 14 #include "content/public/browser/notification_details.h"
15 #include "content/public/browser/notification_source.h" 15 #include "content/public/browser/notification_source.h"
16 #include "content/public/test/test_browser_thread.h" 16 #include "content/public/test/test_browser_thread.h"
17 #include "content/public/test/test_notification_tracker.h" 17 #include "content/public/test/test_notification_tracker.h"
18 #include "google_apis/gaia/gaia_auth_consumer.h" 18 #include "google_apis/gaia/gaia_auth_consumer.h"
19 #include "testing/gtest/include/gtest/gtest.h" 19 #include "testing/gtest/include/gtest/gtest.h"
20 20
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 TokenService* service_; 73 TokenService* service_;
74 TokenAvailableTracker success_tracker_; 74 TokenAvailableTracker success_tracker_;
75 TokenFailedTracker failure_tracker_; 75 TokenFailedTracker failure_tracker_;
76 GaiaAuthConsumer::ClientLoginResult credentials_; 76 GaiaAuthConsumer::ClientLoginResult credentials_;
77 std::string oauth_token_; 77 std::string oauth_token_;
78 std::string oauth_secret_; 78 std::string oauth_secret_;
79 scoped_ptr<TestingProfile> profile_; 79 scoped_ptr<TestingProfile> profile_;
80 }; 80 };
81 81
82 #endif // CHROME_BROWSER_SIGNIN_TOKEN_SERVICE_UNITTEST_H_ 82 #endif // CHROME_BROWSER_SIGNIN_TOKEN_SERVICE_UNITTEST_H_
OLDNEW
« no previous file with comments | « chrome/browser/signin/signin_names_io_thread_unittest.cc ('k') | chrome/browser/signin/token_service_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698