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

Side by Side Diff: storage/browser/blob/blob_data_snapshot.h

Issue 1376123002: Revert of [Blob] BlobReader class & tests, and removal of all redundant reading. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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
« no previous file with comments | « storage/browser/blob/blob_data_handle.cc ('k') | storage/browser/blob/blob_reader.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 STORAGE_BROWSER_BLOB_BLOB_DATA_SNAPSHOT_H_ 5 #ifndef STORAGE_BROWSER_BLOB_BLOB_DATA_SNAPSHOT_H_
6 #define STORAGE_BROWSER_BLOB_BLOB_DATA_SNAPSHOT_H_ 6 #define STORAGE_BROWSER_BLOB_BLOB_DATA_SNAPSHOT_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 const std::string& content_type, 46 const std::string& content_type,
47 const std::string& content_disposition); 47 const std::string& content_disposition);
48 BlobDataSnapshot(const std::string& uuid, 48 BlobDataSnapshot(const std::string& uuid,
49 const std::string& content_type, 49 const std::string& content_type,
50 const std::string& content_disposition, 50 const std::string& content_disposition,
51 const std::vector<scoped_refptr<BlobDataItem>>& items); 51 const std::vector<scoped_refptr<BlobDataItem>>& items);
52 52
53 const std::string uuid_; 53 const std::string uuid_;
54 const std::string content_type_; 54 const std::string content_type_;
55 const std::string content_disposition_; 55 const std::string content_disposition_;
56
57 // Non-const for constrution in BlobStorageContext 56 // Non-const for constrution in BlobStorageContext
58 std::vector<scoped_refptr<BlobDataItem>> items_; 57 std::vector<scoped_refptr<BlobDataItem>> items_;
59 }; 58 };
60 59
61 } // namespace storage 60 } // namespace storage
62 #endif // STORAGE_BROWSER_BLOB_BLOB_DATA_SNAPSHOT_H_ 61 #endif // STORAGE_BROWSER_BLOB_BLOB_DATA_SNAPSHOT_H_
OLDNEW
« no previous file with comments | « storage/browser/blob/blob_data_handle.cc ('k') | storage/browser/blob/blob_reader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698