blob: 18f5c8a7b96583325d7313899b40b9235f8958a5 [file] [log] [blame]
// Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
// 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_