| Index: webkit/fileapi/file_system_operation_context.h
|
| diff --git a/webkit/fileapi/file_system_operation_context.h b/webkit/fileapi/file_system_operation_context.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..a36ee51c6937b528a865d023298d2607ac9cc614
|
| --- /dev/null
|
| +++ b/webkit/fileapi/file_system_operation_context.h
|
| @@ -0,0 +1,29 @@
|
| +// Copyright (c) 2011 The Chromium 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 WEBKIT_FILEAPI_FILE_SYSTEM_OPERATION_CONTEXT_H_
|
| +#define WEBKIT_FILEAPI_FILE_SYSTEM_OPERATION_CONTEXT_H_
|
| +
|
| +#include "base/basictypes.h"
|
| +
|
| +namespace fileapi {
|
| +
|
| +class FileSystemOperationContext {
|
| + public:
|
| + FileSystemOperationContext();
|
| + ~FileSystemOperationContext();
|
| +
|
| + void SetAllowedGrowth(const int64& allowed_growth) {
|
| + allowed_growth_ = allowed_growth;
|
| + }
|
| +
|
| + int64 GetAllowedGrowth() { return allowed_growth_; }
|
| +
|
| + private:
|
| + int64 allowed_growth_;
|
| +};
|
| +
|
| +} // namespace fileapi
|
| +
|
| +#endif // WEBKIT_FILEAPI_FILE_SYSTEM_OPERATION_CONTEXT_H_
|
|
|