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..1b115581d0390fea01847beca0237c7b6e447464 |
--- /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 in the profile as if the user had logged in. |
+ void SetLoginName(const std::string& name); |
+ |
+ private: |
+ DISALLOW_COPY_AND_ASSIGN(NTP4LoggedInWebUITest); |
+}; |
+ |
+#endif // CHROME_TEST_DATA_WEBUI_NTP4_BROWSERTEST_H_ |