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

Side by Side Diff: chrome/test/data/webui/ntp4_test.h

Issue 9625020: Ported NTP4 UI tests to WebUI. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
Sheridan Rawlins 2012/03/07 22:25:36 2012
Danh Nguyen 2012/03/08 16:44:19 Done. Thanks.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_TEST_DATA_WEBUI_NTP4_TEST_H_
6 #define CHROME_TEST_DATA_WEBUI_NTP4_TEST_H_
7 #pragma once
8
9 #include "chrome/browser/prefs/pref_service.h"
10 #include "chrome/browser/profiles/profile.h"
11 #include "chrome/browser/ui/browser.h"
12 #include "chrome/browser/ui/webui/web_ui_browsertest.h"
13 #include "chrome/common/pref_names.h"
Dan Beam 2012/03/07 22:49:45 move all except chrome/browser/ui/webui/web_ui_bro
Danh Nguyen 2012/03/08 16:44:19 Done.
14
15 class NTP4LoggedInWebUITest : public WebUIBrowserTest {
16 public:
17 NTP4LoggedInWebUITest();
18 virtual ~NTP4LoggedInWebUITest();
19
20 // Sets the user name into the profile as if the user had logged in.
21 void SetLoginName(const std::string& loginName);
Sheridan Rawlins 2012/03/07 22:25:36 This can be protected:
Danh Nguyen 2012/03/08 16:44:19 Yes. Thanks.
22
23 DISALLOW_COPY_AND_ASSIGN(NTP4LoggedInWebUITest);
Sheridan Rawlins 2012/03/07 22:25:36 needs to be in private: section to do any good ;-)
Dan Beam 2012/03/07 22:49:45 to add to what scr@ said, this macro creates copy
Danh Nguyen 2012/03/08 16:44:19 Doh! I should have checked the macro. I thought
Danh Nguyen 2012/03/08 16:44:19 Thanks, Dan.
24 };
25
26 #endif // CHROME_TEST_DATA_WEBUI_NTP4_TEST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698