| OLD | NEW |
| 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_TEST_DATA_WEBUI_NTP4_BROWSERTEST_H_ | 5 #ifndef CHROME_TEST_DATA_WEBUI_NTP4_BROWSERTEST_H_ |
| 6 #define CHROME_TEST_DATA_WEBUI_NTP4_BROWSERTEST_H_ | 6 #define CHROME_TEST_DATA_WEBUI_NTP4_BROWSERTEST_H_ |
| 7 | 7 |
| 8 #include "chrome/test/base/web_ui_browsertest.h" | 8 #include "chrome/browser/ui/webui/web_ui_browsertest.h" |
| 9 | 9 |
| 10 class NTP4LoggedInWebUITest : public WebUIBrowserTest { | 10 class NTP4LoggedInWebUITest : public WebUIBrowserTest { |
| 11 public: | 11 public: |
| 12 NTP4LoggedInWebUITest(); | 12 NTP4LoggedInWebUITest(); |
| 13 virtual ~NTP4LoggedInWebUITest(); | 13 virtual ~NTP4LoggedInWebUITest(); |
| 14 | 14 |
| 15 protected: | 15 protected: |
| 16 // Sets the user name in the profile as if the user had logged in. | 16 // Sets the user name in the profile as if the user had logged in. |
| 17 void SetLoginName(const std::string& name); | 17 void SetLoginName(const std::string& name); |
| 18 | 18 |
| 19 private: | 19 private: |
| 20 DISALLOW_COPY_AND_ASSIGN(NTP4LoggedInWebUITest); | 20 DISALLOW_COPY_AND_ASSIGN(NTP4LoggedInWebUITest); |
| 21 }; | 21 }; |
| 22 | 22 |
| 23 #endif // CHROME_TEST_DATA_WEBUI_NTP4_BROWSERTEST_H_ | 23 #endif // CHROME_TEST_DATA_WEBUI_NTP4_BROWSERTEST_H_ |
| OLD | NEW |