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

Side by Side Diff: chrome/browser/chromeos/login/existing_user_controller_browsertest.cc

Issue 9838085: Move files inside chrome/browser/chromeos/dbus to chromeos/dbus (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase Created 8 years, 8 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
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 #include "base/bind.h" 5 #include "base/bind.h"
6 #include "base/compiler_specific.h" 6 #include "base/compiler_specific.h"
7 #include "base/memory/scoped_ptr.h" 7 #include "base/memory/scoped_ptr.h"
8 #include "base/message_loop.h" 8 #include "base/message_loop.h"
9 #include "chrome/browser/chromeos/cros/cros_in_process_browser_test.h" 9 #include "chrome/browser/chromeos/cros/cros_in_process_browser_test.h"
10 #include "chrome/browser/chromeos/cros/cros_mock.h" 10 #include "chrome/browser/chromeos/cros/cros_mock.h"
11 #include "chrome/browser/chromeos/cros/mock_cryptohome_library.h" 11 #include "chrome/browser/chromeos/cros/mock_cryptohome_library.h"
12 #include "chrome/browser/chromeos/cros/mock_network_library.h" 12 #include "chrome/browser/chromeos/cros/mock_network_library.h"
13 #include "chrome/browser/chromeos/dbus/mock_dbus_thread_manager.h"
14 #include "chrome/browser/chromeos/dbus/mock_session_manager_client.h"
15 #include "chrome/browser/chromeos/login/existing_user_controller.h" 13 #include "chrome/browser/chromeos/login/existing_user_controller.h"
16 #include "chrome/browser/chromeos/login/helper.h" 14 #include "chrome/browser/chromeos/login/helper.h"
17 #include "chrome/browser/chromeos/login/login_display.h" 15 #include "chrome/browser/chromeos/login/login_display.h"
18 #include "chrome/browser/chromeos/login/login_display_host.h" 16 #include "chrome/browser/chromeos/login/login_display_host.h"
19 #include "chrome/browser/chromeos/login/login_performer.h" 17 #include "chrome/browser/chromeos/login/login_performer.h"
20 #include "chrome/browser/chromeos/login/login_status_consumer.h" 18 #include "chrome/browser/chromeos/login/login_status_consumer.h"
21 #include "chrome/browser/chromeos/login/login_utils.h" 19 #include "chrome/browser/chromeos/login/login_utils.h"
22 #include "chrome/browser/chromeos/login/mock_authenticator.h" 20 #include "chrome/browser/chromeos/login/mock_authenticator.h"
23 #include "chrome/browser/chromeos/login/mock_login_utils.h" 21 #include "chrome/browser/chromeos/login/mock_login_utils.h"
24 #include "chrome/browser/chromeos/login/mock_url_fetchers.h" 22 #include "chrome/browser/chromeos/login/mock_url_fetchers.h"
25 #include "chrome/browser/chromeos/login/mock_user_manager.h" 23 #include "chrome/browser/chromeos/login/mock_user_manager.h"
26 #include "chrome/browser/chromeos/login/wizard_controller.h" 24 #include "chrome/browser/chromeos/login/wizard_controller.h"
27 #include "chrome/common/net/gaia/mock_url_fetcher_factory.h" 25 #include "chrome/common/net/gaia/mock_url_fetcher_factory.h"
28 #include "chrome/test/base/testing_profile.h" 26 #include "chrome/test/base/testing_profile.h"
29 #include "chrome/test/base/ui_test_utils.h" 27 #include "chrome/test/base/ui_test_utils.h"
28 #include "chromeos/dbus/mock_dbus_thread_manager.h"
29 #include "chromeos/dbus/mock_session_manager_client.h"
30 #include "grit/generated_resources.h" 30 #include "grit/generated_resources.h"
31 #include "testing/gmock/include/gmock/gmock.h" 31 #include "testing/gmock/include/gmock/gmock.h"
32 #include "testing/gtest/include/gtest/gtest.h" 32 #include "testing/gtest/include/gtest/gtest.h"
33 #include "ui/base/l10n/l10n_util.h" 33 #include "ui/base/l10n/l10n_util.h"
34 34
35 namespace chromeos { 35 namespace chromeos {
36 36
37 using ::testing::AnyNumber; 37 using ::testing::AnyNumber;
38 using ::testing::InvokeWithoutArgs; 38 using ::testing::InvokeWithoutArgs;
39 using ::testing::Return; 39 using ::testing::Return;
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 .Times(1); 280 .Times(1);
281 EXPECT_CALL(*mock_login_display_.get(), OnFadeOut()) 281 EXPECT_CALL(*mock_login_display_.get(), OnFadeOut())
282 .Times(1); 282 .Times(1);
283 EXPECT_CALL(*mock_login_display_host_.get(), OnCompleteLogin()) 283 EXPECT_CALL(*mock_login_display_host_.get(), OnCompleteLogin())
284 .Times(1); 284 .Times(1);
285 existing_user_controller()->CompleteLogin(kNewUsername, kPassword); 285 existing_user_controller()->CompleteLogin(kNewUsername, kPassword);
286 ui_test_utils::RunAllPendingInMessageLoop(); 286 ui_test_utils::RunAllPendingInMessageLoop();
287 } 287 }
288 288
289 } // namespace chromeos 289 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/existing_user_controller.cc ('k') | chrome/browser/chromeos/login/login_performer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698