// Copyright 2012 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef STORAGE_BROWSER_FILE_SYSTEM_FILE_SYSTEM_OPERATION_CONTEXT_H_ #define STORAGE_BROWSER_FILE_SYSTEM_FILE_SYSTEM_OPERATION_CONTEXT_H_ #include <stdint.h> #include "base/component_export.h" #include "base/threading/thread_checker.h" #include "storage/browser/file_system/task_runner_bound_observer_list.h" namespace base { class SequencedTaskRunner; } namespace storage { class FileSystemContext; enum class QuotaLimitType; // A context class which is carried around by FileSystemOperation and // its delegated tasks. It is valid to reuse one context instance across // multiple operations as far as those operations are supposed to share // the same context (e.g. use the same task runner, share the quota etc). // Note that the remaining quota bytes (allowed_bytes_growth) may be // updated during the execution of write operations. class COMPONENT_EXPORT(STORAGE_BROWSER) FileSystemOperationContext { … }; } // namespace storage #endif // STORAGE_BROWSER_FILE_SYSTEM_FILE_SYSTEM_OPERATION_CONTEXT_H_