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

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

Issue 3068004: base/ header cleanup. Forward declaration instead of including. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: chrome_launcher_unittest.cc Created 10 years, 4 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) 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/message_loop.h" 6 #include "base/message_loop.h"
6 #include "base/scoped_ptr.h" 7 #include "base/scoped_ptr.h"
7 #include "chrome/browser/automation/ui_controls.h" 8 #include "chrome/browser/automation/ui_controls.h"
8 #include "chrome/browser/browser.h" 9 #include "chrome/browser/browser.h"
9 #include "chrome/browser/browser_window.h" 10 #include "chrome/browser/browser_window.h"
10 #include "chrome/browser/chrome_thread.h" 11 #include "chrome/browser/chrome_thread.h"
11 #include "chrome/browser/chromeos/cros/cros_in_process_browser_test.h" 12 #include "chrome/browser/chromeos/cros/cros_in_process_browser_test.h"
12 #include "chrome/browser/chromeos/cros/mock_screen_lock_library.h" 13 #include "chrome/browser/chromeos/cros/mock_screen_lock_library.h"
13 #include "chrome/browser/chromeos/cros/mock_input_method_library.h" 14 #include "chrome/browser/chromeos/cros/mock_input_method_library.h"
14 #include "chrome/browser/chromeos/login/screen_locker.h" 15 #include "chrome/browser/chromeos/login/screen_locker.h"
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 ScreenLocker::Show(); 256 ScreenLocker::Show();
256 EXPECT_TRUE(tester->IsLocked()); 257 EXPECT_TRUE(tester->IsLocked());
257 258
258 // Close the locker to match expectations. 259 // Close the locker to match expectations.
259 ScreenLocker::Hide(); 260 ScreenLocker::Hide();
260 ui_test_utils::RunAllPendingInMessageLoop(); 261 ui_test_utils::RunAllPendingInMessageLoop();
261 EXPECT_FALSE(tester->IsLocked()); 262 EXPECT_FALSE(tester->IsLocked());
262 } 263 }
263 264
264 } // namespace chromeos 265 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/image_downloader.cc ('k') | chrome/browser/configuration_policy_pref_store_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698