OLD | NEW |
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 #include "base/command_line.h" | 5 #include "base/command_line.h" |
6 #include "base/time.h" | 6 #include "base/time.h" |
7 #include "chrome/browser/chromeos/cros/cros_in_process_browser_test.h" | 7 #include "chrome/browser/chromeos/cros/cros_in_process_browser_test.h" |
8 #include "chrome/browser/chromeos/cros/mock_cryptohome_library.h" | 8 #include "chrome/browser/chromeos/cros/mock_cryptohome_library.h" |
9 #include "chrome/browser/chromeos/cros/mock_input_method_library.h" | 9 #include "chrome/browser/chromeos/cros/mock_input_method_library.h" |
10 #include "chrome/browser/chromeos/cros/mock_keyboard_library.h" | 10 #include "chrome/browser/chromeos/cros/mock_keyboard_library.h" |
11 #include "chrome/browser/chromeos/cros/mock_library_loader.h" | 11 #include "chrome/browser/chromeos/cros/mock_library_loader.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/cros/mock_power_library.h" | 13 #include "chrome/browser/chromeos/cros/mock_power_library.h" |
14 #include "chrome/browser/chromeos/cros/mock_screen_lock_library.h" | 14 #include "chrome/browser/chromeos/cros/mock_screen_lock_library.h" |
15 #include "chrome/browser/chromeos/cros/mock_system_library.h" | 15 #include "chrome/browser/chromeos/cros/mock_system_library.h" |
16 #include "chrome/browser/chromeos/cros/mock_touchpad_library.h" | 16 #include "chrome/browser/chromeos/cros/mock_touchpad_library.h" |
17 #include "chrome/browser/profile_manager.h" | 17 #include "chrome/browser/profiles/profile_manager.h" |
18 #include "chrome/browser/ui/browser.h" | 18 #include "chrome/browser/ui/browser.h" |
19 #include "chrome/common/chrome_switches.h" | 19 #include "chrome/common/chrome_switches.h" |
20 #include "chrome/test/in_process_browser_test.h" | 20 #include "chrome/test/in_process_browser_test.h" |
21 #include "chrome/test/ui_test_utils.h" | 21 #include "chrome/test/ui_test_utils.h" |
22 #include "testing/gmock/include/gmock/gmock.h" | 22 #include "testing/gmock/include/gmock/gmock.h" |
23 #include "testing/gtest/include/gtest/gtest.h" | 23 #include "testing/gtest/include/gtest/gtest.h" |
24 | 24 |
25 namespace chromeos { | 25 namespace chromeos { |
26 using ::testing::_; | 26 using ::testing::_; |
27 using ::testing::AnyNumber; | 27 using ::testing::AnyNumber; |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 // On initial launch, we should get the OTR default profile. | 90 // On initial launch, we should get the OTR default profile. |
91 IN_PROC_BROWSER_TEST_F(LoginProfileTest, UserNotPassed) { | 91 IN_PROC_BROWSER_TEST_F(LoginProfileTest, UserNotPassed) { |
92 Profile* profile = browser()->profile(); | 92 Profile* profile = browser()->profile(); |
93 EXPECT_EQ("Default", profile->GetPath().BaseName().value()); | 93 EXPECT_EQ("Default", profile->GetPath().BaseName().value()); |
94 EXPECT_TRUE(profile->IsOffTheRecord()); | 94 EXPECT_TRUE(profile->IsOffTheRecord()); |
95 // Ensure there's no extension service for this profile. | 95 // Ensure there's no extension service for this profile. |
96 EXPECT_EQ(NULL, profile->GetExtensionsService()); | 96 EXPECT_EQ(NULL, profile->GetExtensionsService()); |
97 } | 97 } |
98 | 98 |
99 } // namespace chromeos | 99 } // namespace chromeos |
OLD | NEW |