Index: chrome/test/data/webui/ntp4_browsertest.h |
diff --git a/chrome/test/data/webui/ntp4_browsertest.h b/chrome/test/data/webui/ntp4_browsertest.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..34ffad1ca3c9011f1846d478ec61f5af3262402f |
--- /dev/null |
+++ b/chrome/test/data/webui/ntp4_browsertest.h |
@@ -0,0 +1,24 @@ |
+// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef CHROME_TEST_DATA_WEBUI_NTP4_BROWSERTEST_H_ |
+#define CHROME_TEST_DATA_WEBUI_NTP4_BROWSERTEST_H_ |
+#pragma once |
+ |
+#include "chrome/browser/ui/webui/web_ui_browsertest.h" |
+ |
+class NTP4LoggedInWebUITest : public WebUIBrowserTest { |
+ public: |
+ NTP4LoggedInWebUITest(); |
+ virtual ~NTP4LoggedInWebUITest(); |
+ |
+ protected: |
+ // Sets the user name into the profile as if the user had logged in. |
Dan Beam
2012/03/08 17:58:33
in the profile? (vs. into)
Danh Nguyen
2012/03/08 18:46:14
Done. Thanks Dan.
|
+ void SetLoginName(const std::string& loginName); |
+ |
+ private: |
+ DISALLOW_COPY_AND_ASSIGN(NTP4LoggedInWebUITest); |
+}; |
+ |
+#endif // CHROME_TEST_DATA_WEBUI_NTP4_BROWSERTEST_H_ |