OLD | NEW |
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 #include "chrome/browser/chromeos/login/mock_login_status_consumer.h" | 5 #include "chrome/browser/chromeos/login/mock_login_status_consumer.h" |
6 | 6 |
7 #include "base/message_loop.h" | 7 #include "base/message_loop.h" |
8 #include "chrome/common/net/gaia/gaia_auth_consumer.h" | 8 #include "google_apis/gaia/gaia_auth_consumer.h" |
9 #include "testing/gtest/include/gtest/gtest.h" | 9 #include "testing/gtest/include/gtest/gtest.h" |
10 | 10 |
11 namespace chromeos { | 11 namespace chromeos { |
12 | 12 |
13 MockConsumer::MockConsumer() {} | 13 MockConsumer::MockConsumer() {} |
14 | 14 |
15 MockConsumer::~MockConsumer() {} | 15 MockConsumer::~MockConsumer() {} |
16 | 16 |
17 // static | 17 // static |
18 void MockConsumer::OnDemoUserSuccessQuit() { | 18 void MockConsumer::OnDemoUserSuccessQuit() { |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 MessageLoop::current()->Quit(); | 71 MessageLoop::current()->Quit(); |
72 } | 72 } |
73 | 73 |
74 // static | 74 // static |
75 void MockConsumer::OnMigrateQuitAndFail() { | 75 void MockConsumer::OnMigrateQuitAndFail() { |
76 ADD_FAILURE() << "Should not have detected a PW change!"; | 76 ADD_FAILURE() << "Should not have detected a PW change!"; |
77 MessageLoop::current()->Quit(); | 77 MessageLoop::current()->Quit(); |
78 } | 78 } |
79 | 79 |
80 } // namespace chromeos | 80 } // namespace chromeos |
OLD | NEW |