#ifndef CONTENT_PUBLIC_BROWSER_GENERATED_CODE_CACHE_SETTINGS_H_
#define CONTENT_PUBLIC_BROWSER_GENERATED_CODE_CACHE_SETTINGS_H_
#include "base/files/file_path.h"
namespace content {
class GeneratedCodeCacheSettings {
public:
GeneratedCodeCacheSettings(bool enabled, int size, base::FilePath path)
: enabled_(enabled), size_in_bytes_(size), path_(path) {
DCHECK_GE(size_in_bytes_, 0);
}
bool enabled() const { return enabled_; }
int64_t size_in_bytes() const { return size_in_bytes_; }
base::FilePath path() const { return path_; }
private:
const bool enabled_;
const int64_t size_in_bytes_;
const base::FilePath path_;
};
}
#endif