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

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

Issue 182093002: Remove the flash specific disk cache backend. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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 | « net/disk_cache/flash/segment_unittest.cc ('k') | net/disk_cache/flash/storage.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/disk_cache/flash/storage.h
diff --git a/net/disk_cache/flash/storage.h b/net/disk_cache/flash/storage.h
deleted file mode 100644
index d875506efb04f33883c7572177efc9f0501e6492..0000000000000000000000000000000000000000
--- a/net/disk_cache/flash/storage.h
+++ /dev/null
@@ -1,35 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// 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_STORAGE_H_
-#define NET_DISK_CACHE_FLASH_STORAGE_H_
-
-#include "base/basictypes.h"
-#include "base/files/file.h"
-#include "net/base/net_export.h"
-
-namespace disk_cache {
-
-class NET_EXPORT_PRIVATE Storage {
- public:
- Storage(const base::FilePath& path, int32 size);
- bool Init();
- ~Storage();
-
- int32 size() const { return size_; }
-
- bool Read(void* buffer, int32 size, int32 offset);
- bool Write(const void* buffer, int32 size, int32 offset);
-
- private:
- base::FilePath path_;
- int32 size_;
- base::File file_;
-
- DISALLOW_COPY_AND_ASSIGN(Storage);
-};
-
-} // namespace disk_cache
-
-#endif // NET_DISK_CACHE_FLASH_STORAGE_H_
« no previous file with comments | « net/disk_cache/flash/segment_unittest.cc ('k') | net/disk_cache/flash/storage.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698