blob_handle.h revision cedac228d2dd51db4b79ea1e72c7f249408ee061
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 10namespace 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. 14class 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_ 26