OLD | NEW |
(Empty) | |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CONTENT_PUBLIC_BROWSER_BLOB_HANDLE_H_ |
| 6 #define CONTENT_PUBLIC_BROWSER_BLOB_HANDLE_H_ |
| 7 |
| 8 #include <string> |
| 9 |
| 10 namespace content { |
| 11 |
| 12 // A handle to Blobs that can be stored outside of content/. This class holds |
| 13 // a reference to the Blob and should be used to keep alive a Blob. |
| 14 class BlobHandle { |
| 15 public: |
| 16 virtual ~BlobHandle() {} |
| 17 virtual std::string GetUUID() = 0; |
| 18 |
| 19 protected: |
| 20 BlobHandle() {} |
| 21 }; |
| 22 |
| 23 } // namespace content |
| 24 |
| 25 #endif // CONTENT_PUBLIC_BROWSER_BLOB_HANDLE_H_ |
OLD | NEW |