blob: 0c2f9040fb1295145b9ff901835a905ee1a35c17 [file] [log] [blame]
// Copyright 2012 The ChromiumOS Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "login_manager/file_checker.h"
#include <base/files/file_path.h>
#include <base/files/file_util.h>
namespace login_manager {
FileChecker::FileChecker(const base::FilePath& filename)
: filename_(filename) {}
FileChecker::~FileChecker() {}
bool FileChecker::exists() {
return base::PathExists(filename_);
}
} // namespace login_manager