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

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

Issue 3402010: Google codestyle prescribes sorting #include filenames within a section.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 3 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 (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/browser.h" 7 #include "chrome/browser/browser.h"
8 #include "chrome/browser/chromeos/cros/cros_in_process_browser_test.h" 8 #include "chrome/browser/chromeos/cros/cros_in_process_browser_test.h"
9 #include "chrome/browser/profile_manager.h"
10 #include "chrome/browser/chromeos/cros/mock_cryptohome_library.h" 9 #include "chrome/browser/chromeos/cros/mock_cryptohome_library.h"
11 #include "chrome/browser/chromeos/cros/mock_input_method_library.h" 10 #include "chrome/browser/chromeos/cros/mock_input_method_library.h"
12 #include "chrome/browser/chromeos/cros/mock_keyboard_library.h" 11 #include "chrome/browser/chromeos/cros/mock_keyboard_library.h"
13 #include "chrome/browser/chromeos/cros/mock_library_loader.h" 12 #include "chrome/browser/chromeos/cros/mock_library_loader.h"
14 #include "chrome/browser/chromeos/cros/mock_network_library.h" 13 #include "chrome/browser/chromeos/cros/mock_network_library.h"
15 #include "chrome/browser/chromeos/cros/mock_power_library.h" 14 #include "chrome/browser/chromeos/cros/mock_power_library.h"
16 #include "chrome/browser/chromeos/cros/mock_screen_lock_library.h" 15 #include "chrome/browser/chromeos/cros/mock_screen_lock_library.h"
17 #include "chrome/browser/chromeos/cros/mock_system_library.h" 16 #include "chrome/browser/chromeos/cros/mock_system_library.h"
18 #include "chrome/browser/chromeos/cros/mock_touchpad_library.h" 17 #include "chrome/browser/chromeos/cros/mock_touchpad_library.h"
18 #include "chrome/browser/profile_manager.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/gtest/include/gtest/gtest.h" 23 #include "testing/gtest/include/gtest/gtest.h"
23 #include "testing/gmock/include/gmock/gmock.h"
24 24
25 namespace chromeos { 25 namespace chromeos {
26 using ::testing::_; 26 using ::testing::_;
27 using ::testing::InvokeWithoutArgs; 27 using ::testing::InvokeWithoutArgs;
28 using ::testing::Return; 28 using ::testing::Return;
29 using ::testing::ReturnRef; 29 using ::testing::ReturnRef;
30 using ::testing::NiceMock; 30 using ::testing::NiceMock;
31 31
32 class LoginTestBase : public InProcessBrowserTest { 32 class LoginTestBase : public InProcessBrowserTest {
33 public: 33 public:
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 // On initial launch, we should get the OTR default profile. 114 // On initial launch, we should get the OTR default profile.
115 IN_PROC_BROWSER_TEST_F(LoginProfileTest, UserNotPassed) { 115 IN_PROC_BROWSER_TEST_F(LoginProfileTest, UserNotPassed) {
116 Profile* profile = browser()->profile(); 116 Profile* profile = browser()->profile();
117 EXPECT_EQ("Default", profile->GetPath().BaseName().value()); 117 EXPECT_EQ("Default", profile->GetPath().BaseName().value());
118 EXPECT_TRUE(profile->IsOffTheRecord()); 118 EXPECT_TRUE(profile->IsOffTheRecord());
119 // Ensure there's no extension service for this profile. 119 // Ensure there's no extension service for this profile.
120 EXPECT_EQ(NULL, profile->GetExtensionsService()); 120 EXPECT_EQ(NULL, profile->GetExtensionsService());
121 } 121 }
122 122
123 } // namespace chromeos 123 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/language_switch_menu.h ('k') | chrome/browser/chromeos/login/login_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698