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

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

Issue 10928088: Factory reset screen is added (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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) 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/utf_string_conversions.h" 6 #include "base/utf_string_conversions.h"
7 #include "chrome/browser/browser_process.h" 7 #include "chrome/browser/browser_process.h"
8 #include "chrome/browser/browser_shutdown.h" 8 #include "chrome/browser/browser_shutdown.h"
9 #include "chrome/browser/chromeos/cros/cros_library.h" 9 #include "chrome/browser/chromeos/cros/cros_library.h"
10 #include "chrome/browser/chromeos/cros/network_library.h" 10 #include "chrome/browser/chromeos/cros/network_library.h"
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after
300 EXPECT_CALL(mock_consumer, OnLoginSuccess(_, _, _, _)).Times(1); 300 EXPECT_CALL(mock_consumer, OnLoginSuccess(_, _, _, _)).Times(1);
301 OnExit(ScreenObserver::ENTERPRISE_AUTO_MAGIC_ENROLLMENT_COMPLETED); 301 OnExit(ScreenObserver::ENTERPRISE_AUTO_MAGIC_ENROLLMENT_COMPLETED);
302 // Prevent browser launch when the profile is prepared: 302 // Prevent browser launch when the profile is prepared:
303 browser_shutdown::SetTryingToQuit(true); 303 browser_shutdown::SetTryingToQuit(true);
304 // Run the tasks posted to complete the login: 304 // Run the tasks posted to complete the login:
305 MessageLoop::current()->RunAllPending(); 305 MessageLoop::current()->RunAllPending();
306 } 306 }
307 307
308 // TODO(nkostylev): Add test for WebUI accelerators http://crosbug.com/22571 308 // TODO(nkostylev): Add test for WebUI accelerators http://crosbug.com/22571
309 309
310 COMPILE_ASSERT(ScreenObserver::EXIT_CODES_COUNT == 13, 310 COMPILE_ASSERT(ScreenObserver::EXIT_CODES_COUNT == 14,
311 add_tests_for_new_control_flow_you_just_introduced); 311 add_tests_for_new_control_flow_you_just_introduced);
312 312
313 } // namespace chromeos 313 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698