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

Unified Diff: net/disk_cache/blockfile/file_block.h

Issue 992733002: Remove //net (except for Android test stuff) and sdch (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 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
« no previous file with comments | « net/disk_cache/blockfile/file.cc ('k') | net/disk_cache/blockfile/file_ios.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/disk_cache/blockfile/file_block.h
diff --git a/net/disk_cache/blockfile/file_block.h b/net/disk_cache/blockfile/file_block.h
deleted file mode 100644
index fdcfcd05f518b262ab2c071ae10fa33ce2913642..0000000000000000000000000000000000000000
--- a/net/disk_cache/blockfile/file_block.h
+++ /dev/null
@@ -1,31 +0,0 @@
-// Copyright (c) 2006-2008 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.
-
-// See net/disk_cache/disk_cache.h for the public interface of the cache.
-
-#ifndef NET_DISK_CACHE_BLOCKFILE_FILE_BLOCK_H_
-#define NET_DISK_CACHE_BLOCKFILE_FILE_BLOCK_H_
-
-namespace disk_cache {
-
-// This interface exposes common functionality for a single block of data
-// stored on a file-block, regardless of the real type or size of the block.
-// Used to simplify loading / storing the block from disk.
-class FileBlock {
- public:
- virtual ~FileBlock() {}
-
- // Returns a pointer to the actual data.
- virtual void* buffer() const = 0;
-
- // Returns the size of the block;
- virtual size_t size() const = 0;
-
- // Returns the file offset of this block.
- virtual int offset() const = 0;
-};
-
-} // namespace disk_cache
-
-#endif // NET_DISK_CACHE_BLOCKFILE_FILE_BLOCK_H_
« no previous file with comments | « net/disk_cache/blockfile/file.cc ('k') | net/disk_cache/blockfile/file_ios.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698