#include <cstring>
#include "base/command_line.h"
+#include "base/files/file_util.h"
#include "base/files/scoped_temp_dir.h"
#include "base/memory/scoped_ptr.h"
#include "base/prefs/pref_service.h"
protected:
virtual Profile* CreateProfileHelper(
- const base::FilePath& file_path) OVERRIDE {
+ const base::FilePath& file_path) override {
if (!base::PathExists(file_path)) {
if (!base::CreateDirectory(file_path))
return NULL;
class UserManagerTest : public testing::Test {
protected:
- virtual void SetUp() OVERRIDE {
+ virtual void SetUp() override {
CommandLine& command_line = *CommandLine::ForCurrentProcess();
command_line.AppendSwitch(::switches::kTestType);
command_line.AppendSwitch(
ResetUserManager();
}
- virtual void TearDown() OVERRIDE {
+ virtual void TearDown() override {
// Unregister the in-memory local settings instance.
local_state_.reset();