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" |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 EXPECT_EQ("user", profile->GetPath().BaseName().value()); | 86 EXPECT_EQ("user", profile->GetPath().BaseName().value()); |
87 EXPECT_FALSE(profile->IsOffTheRecord()); | 87 EXPECT_FALSE(profile->IsOffTheRecord()); |
88 } | 88 } |
89 | 89 |
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->GetExtensionService()); |
97 } | 97 } |
98 | 98 |
99 } // namespace chromeos | 99 } // namespace chromeos |
OLD | NEW |