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

Side by Side Diff: content/browser/indexed_db/indexed_db_blob_info.h

Issue 810403004: [Storage] Blob Storage Refactoring pt 1 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed copyright Created 5 years, 11 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 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 CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_BLOB_INFO_H_ 5 #ifndef CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_BLOB_INFO_H_
6 #define CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_BLOB_INFO_H_ 6 #define CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_BLOB_INFO_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
11 #include "base/files/file_path.h" 11 #include "base/files/file_path.h"
12 #include "base/time/time.h" 12 #include "base/time/time.h"
13 #include "content/common/content_export.h" 13 #include "content/common/content_export.h"
14 #include "storage/common/blob/shareable_file_reference.h" 14 #include "storage/browser/blob/shareable_file_reference.h"
15 15
16 namespace content { 16 namespace content {
17 17
18 class CONTENT_EXPORT IndexedDBBlobInfo { 18 class CONTENT_EXPORT IndexedDBBlobInfo {
19 public: 19 public:
20 typedef storage::ShareableFileReference::FinalReleaseCallback ReleaseCallback; 20 typedef storage::ShareableFileReference::FinalReleaseCallback ReleaseCallback;
21 IndexedDBBlobInfo(); 21 IndexedDBBlobInfo();
22 // These two are used for Blobs. 22 // These two are used for Blobs.
23 IndexedDBBlobInfo(const std::string& uuid, 23 IndexedDBBlobInfo(const std::string& uuid,
24 const base::string16& type, 24 const base::string16& type,
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 67
68 // Valid only when this comes out of the database. 68 // Valid only when this comes out of the database.
69 int64 key_; 69 int64 key_;
70 base::Closure mark_used_callback_; 70 base::Closure mark_used_callback_;
71 ReleaseCallback release_callback_; 71 ReleaseCallback release_callback_;
72 }; 72 };
73 73
74 } // namespace content 74 } // namespace content
75 75
76 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_BLOB_INFO_H_ 76 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_BLOB_INFO_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698