| 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 "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_library_loader.h" | |
| 10 #include "chrome/browser/chromeos/cros/mock_network_library.h" | 9 #include "chrome/browser/chromeos/cros/mock_network_library.h" |
| 11 #include "chrome/browser/profiles/profile_manager.h" | 10 #include "chrome/browser/profiles/profile_manager.h" |
| 12 #include "chrome/browser/ui/browser.h" | 11 #include "chrome/browser/ui/browser.h" |
| 13 #include "chrome/common/chrome_switches.h" | 12 #include "chrome/common/chrome_switches.h" |
| 14 #include "chrome/test/base/in_process_browser_test.h" | 13 #include "chrome/test/base/in_process_browser_test.h" |
| 15 #include "chrome/test/base/ui_test_utils.h" | 14 #include "chrome/test/base/ui_test_utils.h" |
| 16 #include "testing/gmock/include/gmock/gmock.h" | 15 #include "testing/gmock/include/gmock/gmock.h" |
| 17 #include "testing/gtest/include/gtest/gtest.h" | 16 #include "testing/gtest/include/gtest/gtest.h" |
| 18 | 17 |
| 19 namespace chromeos { | 18 namespace chromeos { |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 // On initial launch, we should get the OTR default profile. | 83 // On initial launch, we should get the OTR default profile. |
| 85 IN_PROC_BROWSER_TEST_F(LoginProfileTest, UserNotPassed) { | 84 IN_PROC_BROWSER_TEST_F(LoginProfileTest, UserNotPassed) { |
| 86 Profile* profile = browser()->profile(); | 85 Profile* profile = browser()->profile(); |
| 87 EXPECT_EQ("Default", profile->GetPath().BaseName().value()); | 86 EXPECT_EQ("Default", profile->GetPath().BaseName().value()); |
| 88 EXPECT_TRUE(profile->IsOffTheRecord()); | 87 EXPECT_TRUE(profile->IsOffTheRecord()); |
| 89 // Ensure there's extension service for this profile. | 88 // Ensure there's extension service for this profile. |
| 90 EXPECT_TRUE(profile->GetExtensionService()); | 89 EXPECT_TRUE(profile->GetExtensionService()); |
| 91 } | 90 } |
| 92 | 91 |
| 93 } // namespace chromeos | 92 } // namespace chromeos |
| OLD | NEW |