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

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

Issue 1985383002: Logging and check fail crbug/612358 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: cleaned up logging Created 4 years, 7 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 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_INTERNAL_BLOB_DATA_H_ 5 #ifndef STORAGE_BROWSER_BLOB_INTERNAL_BLOB_DATA_H_
6 #define STORAGE_BROWSER_BLOB_INTERNAL_BLOB_DATA_H_ 6 #define STORAGE_BROWSER_BLOB_INTERNAL_BLOB_DATA_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 size_t GetNonsharedMemoryUsage() const; 64 size_t GetNonsharedMemoryUsage() const;
65 65
66 // Removes the given blob uuid from the internal ShareableBlobDataItems. 66 // Removes the given blob uuid from the internal ShareableBlobDataItems.
67 // This is called on destruction of the blob if we're still building it. 67 // This is called on destruction of the blob if we're still building it.
68 void RemoveBlobFromShareableItems(const std::string& blob_uuid); 68 void RemoveBlobFromShareableItems(const std::string& blob_uuid);
69 69
70 // The builder is invalid after calling this method. 70 // The builder is invalid after calling this method.
71 std::unique_ptr<::storage::InternalBlobData> Build(); 71 std::unique_ptr<::storage::InternalBlobData> Build();
72 72
73 private: 73 private:
74 friend class ViewBlobInternalsJob;
74 std::unique_ptr<::storage::InternalBlobData> data_; 75 std::unique_ptr<::storage::InternalBlobData> data_;
75 76
76 DISALLOW_COPY_AND_ASSIGN(Builder); 77 DISALLOW_COPY_AND_ASSIGN(Builder);
77 }; 78 };
78 79
79 DISALLOW_COPY_AND_ASSIGN(InternalBlobData); 80 DISALLOW_COPY_AND_ASSIGN(InternalBlobData);
80 }; 81 };
81 82
82 } // namespace storage 83 } // namespace storage
83 #endif // STORAGE_BROWSER_BLOB_INTERNAL_BLOB_DATA_H_ 84 #endif // STORAGE_BROWSER_BLOB_INTERNAL_BLOB_DATA_H_
OLDNEW
« no previous file with comments | « storage/browser/blob/blob_url_request_job.cc ('k') | storage/browser/blob/view_blob_internals_job.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698