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

Side by Side Diff: chrome/browser/chromeos/login/wizard_in_process_browser_test.h

Issue 10808061: [cros] Flip enable-new-oobe switch. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 5 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 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_WIZARD_IN_PROCESS_BROWSER_TEST_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_WIZARD_IN_PROCESS_BROWSER_TEST_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_WIZARD_IN_PROCESS_BROWSER_TEST_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_WIZARD_IN_PROCESS_BROWSER_TEST_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
11 #include "chrome/browser/chromeos/cros/cros_in_process_browser_test.h" 11 #include "chrome/browser/chromeos/cros/cros_in_process_browser_test.h"
12 12
13 class Browser; 13 class Browser;
14 class Profile; 14 class Profile;
15 15
16 namespace chromeos { 16 namespace chromeos {
17 17
18 class LoginDisplayHost; 18 class LoginDisplayHost;
19 class WizardController; 19 class WizardController;
20 20
21 // Base class for test related to login wizard and its screens. 21 // Base class for test related to login wizard and its screens.
22 // Instead of creating Chrome browser window it creates login wizard window 22 // Instead of creating Chrome browser window it creates login wizard window
23 // with specified parameters and allows to customize environment at the 23 // with specified parameters and allows to customize environment at the
24 // right moment in time before wizard is created. 24 // right moment in time before wizard is created.
25 class WizardInProcessBrowserTest : public CrosInProcessBrowserTest { 25 class WizardInProcessBrowserTest : public CrosInProcessBrowserTest {
26 public: 26 public:
27 explicit WizardInProcessBrowserTest(const char* screen_name); 27 explicit WizardInProcessBrowserTest(const char* screen_name);
28 28
29 // Overriden from InProcessBrowserTest:
30 virtual void SetUp() OVERRIDE;
31
29 protected: 32 protected:
30 // Can be overriden by derived test fixtures to set up environment after 33 // Can be overriden by derived test fixtures to set up environment after
31 // browser is created but wizard is not shown yet. 34 // browser is created but wizard is not shown yet.
32 virtual void SetUpWizard() {} 35 virtual void SetUpWizard() {}
33 36
34 // Overriden from InProcessBrowserTest: 37 // Overriden from InProcessBrowserTest:
35 virtual void SetUpOnMainThread() OVERRIDE; 38 virtual void SetUpOnMainThread() OVERRIDE;
36 virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE; 39 virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE;
37 virtual void CleanUpOnMainThread() OVERRIDE; 40 virtual void CleanUpOnMainThread() OVERRIDE;
38 41
39 private: 42 private:
40 std::string screen_name_; 43 std::string screen_name_;
41 LoginDisplayHost* host_; 44 LoginDisplayHost* host_;
42 45
43 DISALLOW_COPY_AND_ASSIGN(WizardInProcessBrowserTest); 46 DISALLOW_COPY_AND_ASSIGN(WizardInProcessBrowserTest);
44 }; 47 };
45 48
46 } // namespace chromeos 49 } // namespace chromeos
47 50
48 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WIZARD_IN_PROCESS_BROWSER_TEST_H_ 51 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WIZARD_IN_PROCESS_BROWSER_TEST_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/wizard_controller.cc ('k') | chrome/browser/chromeos/login/wizard_in_process_browser_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698