// 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_BLOB_SHAREABLE_FILE_REFERENCE_H_ #define STORAGE_BROWSER_BLOB_SHAREABLE_FILE_REFERENCE_H_ #include "base/component_export.h" #include "base/memory/ref_counted.h" #include "storage/browser/blob/scoped_file.h" namespace storage { // ShareableFileReference allows consumers to share FileReference for the // same path if it already exists in its internal map. // This class is non-thread-safe and all methods must be called on a single // thread. class COMPONENT_EXPORT(STORAGE_BROWSER) ShareableFileReference : public base::RefCounted<ShareableFileReference> { … }; } // namespace storage #endif // STORAGE_BROWSER_BLOB_SHAREABLE_FILE_REFERENCE_H_