Background tracing: Simplify public interface and isolate trigger logic
[chromium-blink-merge.git] / content / public / browser / blob_handle.h
blobe4d7a2de9f99a4490f5ec0433d31f144e19fa5e6
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.
5 #ifndef CONTENT_PUBLIC_BROWSER_BLOB_HANDLE_H_
6 #define CONTENT_PUBLIC_BROWSER_BLOB_HANDLE_H_
8 #include <string>
10 namespace content {
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;
19 protected:
20 BlobHandle() {}
23 } // namespace content
25 #endif // CONTENT_PUBLIC_BROWSER_BLOB_HANDLE_H_