Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(251)

Side by Side Diff: webkit/browser/blob/blob_data_handle.h

Issue 23223003: Chromium Blob hacking (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef WEBKIT_BROWSER_BLOB_BLOB_DATA_HANDLE_H_ 5 #ifndef WEBKIT_BROWSER_BLOB_BLOB_DATA_HANDLE_H_
6 #define WEBKIT_BROWSER_BLOB_BLOB_DATA_HANDLE_H_ 6 #define WEBKIT_BROWSER_BLOB_BLOB_DATA_HANDLE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 25 matching lines...) Expand all
36 BlobDataHandle(BlobData* blob_data, BlobStorageContext* context, 36 BlobDataHandle(BlobData* blob_data, BlobStorageContext* context,
37 base::SequencedTaskRunner* task_runner); 37 base::SequencedTaskRunner* task_runner);
38 38
39 static void DeleteHelper( 39 static void DeleteHelper(
40 base::WeakPtr<BlobStorageContext> context, 40 base::WeakPtr<BlobStorageContext> context,
41 BlobData* blob_data); 41 BlobData* blob_data);
42 42
43 BlobData* blob_data_; // Intentionally a raw ptr to a non-thread-safe ref. 43 BlobData* blob_data_; // Intentionally a raw ptr to a non-thread-safe ref.
44 base::WeakPtr<BlobStorageContext> context_; 44 base::WeakPtr<BlobStorageContext> context_;
45 scoped_refptr<base::SequencedTaskRunner> io_task_runner_; 45 scoped_refptr<base::SequencedTaskRunner> io_task_runner_;
46
47 DISALLOW_COPY_AND_ASSIGN(BlobDataHandle);
46 }; 48 };
47 49
48 } // namespace webkit_blob 50 } // namespace webkit_blob
49 51
50 #endif // WEBKIT_BROWSER_BLOB_BLOB_DATA_HANDLE_H_ 52 #endif // WEBKIT_BROWSER_BLOB_BLOB_DATA_HANDLE_H_
OLDNEW
« no previous file with comments | « content/public/renderer/history_item_serialization.cc ('k') | webkit/browser/blob/blob_storage_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698