Index: chrome/test/data/webui/ntp4_test.cc |
diff --git a/chrome/test/data/webui/ntp4_test.cc b/chrome/test/data/webui/ntp4_test.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..03705060e529a27f2c0c549706ecb9a62022f1e1 |
--- /dev/null |
+++ b/chrome/test/data/webui/ntp4_test.cc |
@@ -0,0 +1,14 @@ |
+// 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. |
+ |
+#include "chrome/test/data/webui/ntp4_test.h" |
Dan Beam
2012/03/07 22:49:45
you'll want to include those .h files here with 1
Danh Nguyen
2012/03/08 16:44:19
Done.
|
+ |
+NTP4LoggedInWebUITest::NTP4LoggedInWebUITest() {} |
Dan Beam
2012/03/07 22:49:45
I'm not sure if the end curlie (}) should be on ne
Danh Nguyen
2012/03/08 16:44:19
Cool. I'll keep it this way then.
|
+ |
+NTP4LoggedInWebUITest::~NTP4LoggedInWebUITest() {} |
+ |
+void NTP4LoggedInWebUITest::SetLoginName(const std::string& name) { |
+ browser()->profile()->GetPrefs()->SetString(prefs::kGoogleServicesUsername, |
+ name); |
+} |