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

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

Issue 290513003: Move UserContext to its own file (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased. 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/auth/mock_login_status_consumer.h" 5 #include "chrome/browser/chromeos/login/auth/mock_login_status_consumer.h"
6 6
7 #include "base/message_loop/message_loop.h" 7 #include "base/message_loop/message_loop.h"
8 #include "chrome/browser/chromeos/login/users/user.h"
9 #include "google_apis/gaia/gaia_auth_consumer.h" 8 #include "google_apis/gaia/gaia_auth_consumer.h"
10 #include "testing/gtest/include/gtest/gtest.h" 9 #include "testing/gtest/include/gtest/gtest.h"
11 10
12 namespace chromeos { 11 namespace chromeos {
13 12
14 MockConsumer::MockConsumer() {} 13 MockConsumer::MockConsumer() {}
15 14
16 MockConsumer::~MockConsumer() {} 15 MockConsumer::~MockConsumer() {}
17 16
18 // static 17 // static
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 base::MessageLoop::current()->Quit(); 64 base::MessageLoop::current()->Quit();
66 } 65 }
67 66
68 // static 67 // static
69 void MockConsumer::OnMigrateQuitAndFail() { 68 void MockConsumer::OnMigrateQuitAndFail() {
70 ADD_FAILURE() << "Should not have detected a PW change!"; 69 ADD_FAILURE() << "Should not have detected a PW change!";
71 base::MessageLoop::current()->Quit(); 70 base::MessageLoop::current()->Quit();
72 } 71 }
73 72
74 } // namespace chromeos 73 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698