| Index: content/public/browser/blob_handle.h
|
| diff --git a/content/public/browser/blob_handle.h b/content/public/browser/blob_handle.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..e4d7a2de9f99a4490f5ec0433d31f144e19fa5e6
|
| --- /dev/null
|
| +++ b/content/public/browser/blob_handle.h
|
| @@ -0,0 +1,25 @@
|
| +// Copyright 2014 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 CONTENT_PUBLIC_BROWSER_BLOB_HANDLE_H_
|
| +#define CONTENT_PUBLIC_BROWSER_BLOB_HANDLE_H_
|
| +
|
| +#include <string>
|
| +
|
| +namespace content {
|
| +
|
| +// A handle to Blobs that can be stored outside of content/. This class holds
|
| +// a reference to the Blob and should be used to keep alive a Blob.
|
| +class BlobHandle {
|
| + public:
|
| + virtual ~BlobHandle() {}
|
| + virtual std::string GetUUID() = 0;
|
| +
|
| + protected:
|
| + BlobHandle() {}
|
| +};
|
| +
|
| +} // namespace content
|
| +
|
| +#endif // CONTENT_PUBLIC_BROWSER_BLOB_HANDLE_H_
|
|
|