blob: 43f81c4b6e50eedc1a5d65de7262c88437d01cdc [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.
#ifndef LOGIN_MANAGER_FILE_CHECKER_H_
#define LOGIN_MANAGER_FILE_CHECKER_H_
#include <base/files/file_path.h>
namespace login_manager {
class FileChecker {
public:
explicit FileChecker(const base::FilePath& filename);
FileChecker(const FileChecker&) = delete;
FileChecker& operator=(const FileChecker&) = delete;
virtual ~FileChecker();
virtual bool exists();
private:
const base::FilePath filename_;
};
} // namespace login_manager
#endif // LOGIN_MANAGER_FILE_CHECKER_H_