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

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

Issue 11532011: Renamed classes for consistency. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: test 2. Created 8 years 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
« no previous file with comments | « net/disk_cache/flash/log_store.cc ('k') | net/disk_cache/flash/log_store_entry.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/disk_cache/flash/log_store_entry.h
diff --git a/net/disk_cache/flash/cache_entry.h b/net/disk_cache/flash/log_store_entry.h
similarity index 68%
rename from net/disk_cache/flash/cache_entry.h
rename to net/disk_cache/flash/log_store_entry.h
index 05f08eb9aa7e2ff6633cba34bbcf5d49a1bfc014..c172457e234a716b9fcadcf150a0bf652fd0d7b9 100644
--- a/net/disk_cache/flash/cache_entry.h
+++ b/net/disk_cache/flash/log_store_entry.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef NET_DISK_CACHE_FLASH_LOG_ENTRY_H_
-#define NET_DISK_CACHE_FLASH_LOG_ENTRY_H_
+#ifndef NET_DISK_CACHE_FLASH_LOG_STORE_ENTRY_H_
+#define NET_DISK_CACHE_FLASH_LOG_STORE_ENTRY_H_
#include <vector>
@@ -18,13 +18,13 @@ class IOBuffer;
namespace disk_cache {
-class LogStructuredStore;
+class LogStore;
-class NET_EXPORT_PRIVATE CacheEntry {
+class NET_EXPORT_PRIVATE LogStoreEntry {
public:
- explicit CacheEntry(LogStructuredStore* store);
- CacheEntry(LogStructuredStore* store, int32 id);
- ~CacheEntry();
+ explicit LogStoreEntry(LogStore* store);
+ LogStoreEntry(LogStore* store, int32 id);
+ ~LogStoreEntry();
bool Init();
bool Close();
@@ -49,15 +49,15 @@ class NET_EXPORT_PRIVATE CacheEntry {
int32 Size() const;
bool Save();
- LogStructuredStore* store_;
+ LogStore* store_;
int32 id_;
- Stream streams_[kFlashCacheEntryNumStreams];
+ Stream streams_[kFlashLogStoreEntryNumStreams];
bool init_;
bool closed_;
- DISALLOW_COPY_AND_ASSIGN(CacheEntry);
+ DISALLOW_COPY_AND_ASSIGN(LogStoreEntry);
};
} // namespace disk_cache
-#endif // NET_DISK_CACHE_FLASH_LOG_ENTRY_H_
+#endif // NET_DISK_CACHE_FLASH_LOG_STORE_ENTRY_H_
« no previous file with comments | « net/disk_cache/flash/log_store.cc ('k') | net/disk_cache/flash/log_store_entry.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698