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

Unified Diff: net/disk_cache/flash/log_store_entry.h

Issue 12847012: Adding disk_cache::Entry implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments, added comments. Created 7 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: net/disk_cache/flash/log_store_entry.h
diff --git a/net/disk_cache/flash/log_store_entry.h b/net/disk_cache/flash/log_store_entry.h
index ef184ee1aa3385b16b92a5dbed48066d41c48a83..579194913af4503dc26c2bf8b67f3f4392e61d34 100644
--- a/net/disk_cache/flash/log_store_entry.h
+++ b/net/disk_cache/flash/log_store_entry.h
@@ -30,6 +30,7 @@ class NET_EXPORT_PRIVATE LogStoreEntry {
bool Close();
int32 id() const;
+ bool IsNew() const;
int32 GetDataSize(int index) const;
int ReadData(int index, int offset, net::IOBuffer* buf, int buf_len);
@@ -45,7 +46,6 @@ class NET_EXPORT_PRIVATE LogStoreEntry {
std::vector<char> write_buffer;
};
- bool ReadOnly() const;
bool InvalidStream(int stream_index) const;
int32 Size() const;
bool Save();

Powered by Google App Engine
This is Rietveld 408576698