#include "chrome/common/auto_start_linux.h"
#include <stddef.h>
#include <memory>
#include "base/environment.h"
#include "base/files/file_path.h"
#include "base/files/file_util.h"
#include "base/nix/xdg_util.h"
#include "base/strings/string_tokenizer.h"
#include "base/strings/string_util.h"
namespace {
const base::FilePath::CharType kAutostart[] = …;
}
bool AutoStart::AddApplication(const std::string& autostart_filename,
const std::string& application_name,
const std::string& command_line,
bool is_terminal_app) { … }
bool AutoStart::Remove(const std::string& autostart_filename) { … }
bool AutoStart::GetAutostartFileContents(
const std::string& autostart_filename, std::string* contents) { … }
bool AutoStart::GetAutostartFileValue(const std::string& autostart_filename,
const std::string& value_name,
std::string* value) { … }
base::FilePath AutoStart::GetAutostartDirectory(
base::Environment* environment) { … }