This source file includes following definitions.
- preferences_read_from_file_
- preferences_read_from_file_
- GetBool
- GetInt
- GetString
- GetFirstRunTabs
- ForCurrentProcess
#include "chrome/installer/util/master_preferences.h"
#include <windows.h>
#include "base/logging.h"
#include "base/values.h"
#include "url/gurl.h"
namespace installer {
MasterPreferences::MasterPreferences(const CommandLine& cmd_line)
: distribution_(NULL), preferences_read_from_file_(false) {
}
MasterPreferences::MasterPreferences(const base::FilePath& prefs_path)
: distribution_(NULL), preferences_read_from_file_(false) {
}
MasterPreferences::~MasterPreferences() {
}
bool MasterPreferences::GetBool(const std::string& name, bool* value) const {
NOTREACHED();
return false;
}
bool MasterPreferences::GetInt(const std::string& name, int* value) const {
NOTREACHED();
return false;
}
bool MasterPreferences::GetString(const std::string& name,
std::string* value) const {
NOTREACHED();
return false;
}
std::vector<std::string> MasterPreferences::GetFirstRunTabs() const {
NOTREACHED();
return std::vector<std::string>();
}
const MasterPreferences& MasterPreferences::ForCurrentProcess() {
static MasterPreferences prefs(*CommandLine::ForCurrentProcess());
return prefs;
}
}