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

Unified Diff: chrome/test/data/webui/ntp4_browsertest.h

Issue 9625020: Ported NTP4 UI tests to WebUI. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Missed changes to the .gypi file when renaming test files. Created 8 years, 9 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 side-by-side diff with in-line comments
Download patch
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_

Powered by Google App Engine
This is Rietveld 408576698