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

Side by Side Diff: chrome/browser/net/gaia/token_service_unittest.h

Issue 5783006: Cleanup: Remove unneeded includes of notification_service.h in other headers.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years 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
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_NET_GAIA_TOKEN_SERVICE_UNITTEST_H_ 7 #ifndef CHROME_BROWSER_NET_GAIA_TOKEN_SERVICE_UNITTEST_H_
8 #define CHROME_BROWSER_NET_GAIA_TOKEN_SERVICE_UNITTEST_H_ 8 #define CHROME_BROWSER_NET_GAIA_TOKEN_SERVICE_UNITTEST_H_
9 #pragma once 9 #pragma once
10 10
11 #include "chrome/browser/net/gaia/token_service.h" 11 #include "chrome/browser/net/gaia/token_service.h"
12 #include "chrome/browser/password_manager/encryptor.h" 12 #include "chrome/browser/password_manager/encryptor.h"
13 #include "chrome/browser/webdata/web_data_service.h" 13 #include "chrome/browser/webdata/web_data_service.h"
14 #include "chrome/common/net/gaia/gaia_auth_consumer.h" 14 #include "chrome/common/net/gaia/gaia_auth_consumer.h"
15 #include "chrome/common/notification_details.h"
16 #include "chrome/common/notification_source.h"
15 #include "chrome/test/signaling_task.h" 17 #include "chrome/test/signaling_task.h"
16 #include "chrome/test/test_notification_tracker.h" 18 #include "chrome/test/test_notification_tracker.h"
17 #include "chrome/test/testing_profile.h" 19 #include "chrome/test/testing_profile.h"
18 #include "testing/gtest/include/gtest/gtest.h" 20 #include "testing/gtest/include/gtest/gtest.h"
19 21
20 // TestNotificationTracker doesn't do a deep copy on the notification details. 22 // TestNotificationTracker doesn't do a deep copy on the notification details.
21 // We have to in order to read it out, or we have a bad ptr, since the details 23 // We have to in order to read it out, or we have a bad ptr, since the details
22 // are a reference on the stack. 24 // are a reference on the stack.
23 class TokenAvailableTracker : public TestNotificationTracker { 25 class TokenAvailableTracker : public TestNotificationTracker {
24 public: 26 public:
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 BrowserThread db_thread_; // WDS on here 123 BrowserThread db_thread_; // WDS on here
122 124
123 TokenService service_; 125 TokenService service_;
124 TokenAvailableTracker success_tracker_; 126 TokenAvailableTracker success_tracker_;
125 TokenFailedTracker failure_tracker_; 127 TokenFailedTracker failure_tracker_;
126 GaiaAuthConsumer::ClientLoginResult credentials_; 128 GaiaAuthConsumer::ClientLoginResult credentials_;
127 scoped_ptr<TestingProfile> profile_; 129 scoped_ptr<TestingProfile> profile_;
128 }; 130 };
129 131
130 #endif // CHROME_BROWSER_NET_GAIA_TOKEN_SERVICE_UNITTEST_H_ 132 #endif // CHROME_BROWSER_NET_GAIA_TOKEN_SERVICE_UNITTEST_H_
OLDNEW
« no previous file with comments | « chrome/browser/history/top_sites.h ('k') | chrome/browser/password_manager/password_store_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698