This source file includes following definitions.
- SetLoginName
#include "chrome/test/data/webui/ntp4_browsertest.h"
#include "base/prefs/pref_service.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/common/pref_names.h"
NTP4LoggedInWebUITest::NTP4LoggedInWebUITest() {}
NTP4LoggedInWebUITest::~NTP4LoggedInWebUITest() {}
void NTP4LoggedInWebUITest::SetLoginName(const std::string& name) {
browser()->profile()->GetPrefs()->SetString(prefs::kGoogleServicesUsername,
name);
}