OLD | NEW |
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 #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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 16 matching lines...) Expand all Loading... |
27 protected: | 27 protected: |
28 // Can be overriden by derived test fixtures to set up environment after | 28 // Can be overriden by derived test fixtures to set up environment after |
29 // browser is created but wizard is not shown yet. | 29 // browser is created but wizard is not shown yet. |
30 virtual void SetUpWizard() {} | 30 virtual void SetUpWizard() {} |
31 | 31 |
32 // Overriden from InProcessBrowserTest: | 32 // Overriden from InProcessBrowserTest: |
33 virtual Browser* CreateBrowser(Profile* profile); | 33 virtual Browser* CreateBrowser(Profile* profile); |
34 virtual void CleanUpOnMainThread(); | 34 virtual void CleanUpOnMainThread(); |
35 | 35 |
36 WizardController* controller() const { return controller_; } | 36 WizardController* controller() const { return controller_; } |
| 37 void set_controller(WizardController* controller) { |
| 38 controller_ = controller; |
| 39 } |
37 | 40 |
38 private: | 41 private: |
39 std::string screen_name_; | 42 std::string screen_name_; |
40 WizardController* controller_; | 43 WizardController* controller_; |
41 | 44 |
42 DISALLOW_COPY_AND_ASSIGN(WizardInProcessBrowserTest); | 45 DISALLOW_COPY_AND_ASSIGN(WizardInProcessBrowserTest); |
43 }; | 46 }; |
44 | 47 |
45 } // namespace chromeos | 48 } // namespace chromeos |
46 | 49 |
47 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WIZARD_IN_PROCESS_BROWSER_TEST_H_ | 50 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WIZARD_IN_PROCESS_BROWSER_TEST_H_ |
48 | 51 |
OLD | NEW |