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

Side by Side Diff: chrome/browser/chromeos/login/auth/mock_login_status_consumer.h

Issue 286933002: [cros login] Split login related classes into subfolders. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix includes in new tests Created 6 years, 7 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 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_MOCK_LOGIN_STATUS_CONSUMER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_MOCK_LOGIN_STATUS_CONSUMER_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_MOCK_LOGIN_STATUS_CONSUMER_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_MOCK_LOGIN_STATUS_CONSUMER_H_
7 7
8 #include "chrome/browser/chromeos/login/login_status_consumer.h" 8 #include "chrome/browser/chromeos/login/auth/login_status_consumer.h"
9 #include "chrome/browser/chromeos/login/user.h" 9 #include "chrome/browser/chromeos/login/users/user.h"
10 #include "testing/gmock/include/gmock/gmock.h" 10 #include "testing/gmock/include/gmock/gmock.h"
11 11
12 namespace chromeos { 12 namespace chromeos {
13 13
14 class MockConsumer : public LoginStatusConsumer { 14 class MockConsumer : public LoginStatusConsumer {
15 public: 15 public:
16 MockConsumer(); 16 MockConsumer();
17 virtual ~MockConsumer(); 17 virtual ~MockConsumer();
18 18
19 MOCK_METHOD1(OnLoginFailure, void(const LoginFailure& error)); 19 MOCK_METHOD1(OnLoginFailure, void(const LoginFailure& error));
(...skipping 22 matching lines...) Expand all
42 static void OnFailQuit(const LoginFailure& error); 42 static void OnFailQuit(const LoginFailure& error);
43 static void OnFailQuitAndFail(const LoginFailure& error); 43 static void OnFailQuitAndFail(const LoginFailure& error);
44 44
45 // Compatible with LoginStatusConsumer::OnPasswordChangeDetected() 45 // Compatible with LoginStatusConsumer::OnPasswordChangeDetected()
46 static void OnMigrateQuit(); 46 static void OnMigrateQuit();
47 static void OnMigrateQuitAndFail(); 47 static void OnMigrateQuitAndFail();
48 }; 48 };
49 49
50 } // namespace chromeos 50 } // namespace chromeos
51 51
52 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_MOCK_LOGIN_STATUS_CONSUMER_H_ 52 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_MOCK_LOGIN_STATUS_CONSUMER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698