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

Unified Diff: net/disk_cache/backend_impl.h

Issue 274012: Convert BlockFiles to use FilePath instead of wstring. (Closed)
Patch Set: rebase Created 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | net/disk_cache/block_files.h » ('j') | net/disk_cache/disk_cache_test_util.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/disk_cache/backend_impl.h
diff --git a/net/disk_cache/backend_impl.h b/net/disk_cache/backend_impl.h
index 00711a98e747e0b3ac0580010363a55361cd1719..85075db6d3f890b7a00ad5aa018e8cf2e635c002 100644
--- a/net/disk_cache/backend_impl.h
+++ b/net/disk_cache/backend_impl.h
@@ -36,14 +36,14 @@ class BackendImpl : public Backend {
friend class Eviction;
public:
explicit BackendImpl(const FilePath& path)
- : path_(path), block_files_(path.ToWStringHack()), mask_(0), max_size_(0),
+ : path_(path), block_files_(path), mask_(0), max_size_(0),
cache_type_(net::DISK_CACHE), uma_report_(0), user_flags_(0),
init_(false), restarted_(false), unit_test_(false), read_only_(false),
new_eviction_(false), first_timer_(true),
ALLOW_THIS_IN_INITIALIZER_LIST(factory_(this)) {}
// mask can be used to limit the usable size of the hash table, for testing.
BackendImpl(const FilePath& path, uint32 mask)
- : path_(path), block_files_(path.ToWStringHack()), mask_(mask), max_size_(0),
+ : path_(path), block_files_(path), mask_(mask), max_size_(0),
cache_type_(net::DISK_CACHE), uma_report_(0), user_flags_(kMask),
init_(false), restarted_(false), unit_test_(false), read_only_(false),
new_eviction_(false), first_timer_(true),
« no previous file with comments | « no previous file | net/disk_cache/block_files.h » ('j') | net/disk_cache/disk_cache_test_util.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698