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

Unified Diff: webkit/blob/file_stream_reader.h

Issue 10447083: Rename webkit_blob::FileReader to FileStreamReader. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge master branch. Created 8 years, 7 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 | « webkit/blob/file_reader.h ('k') | webkit/blob/local_file_reader.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/blob/file_stream_reader.h
diff --git a/webkit/blob/file_reader.h b/webkit/blob/file_stream_reader.h
similarity index 87%
rename from webkit/blob/file_reader.h
rename to webkit/blob/file_stream_reader.h
index 8aedf40a274af2d52bd6e85c3f70e45ce4dfad88..ccb8ba3ca368a63b31f6958843c5222a2fd92aed 100644
--- a/webkit/blob/file_reader.h
+++ b/webkit/blob/file_stream_reader.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 WEBKIT_BLOB_FILE_READER_H_
-#define WEBKIT_BLOB_FILE_READER_H_
+#ifndef WEBKIT_BLOB_FILE_STREAM_READER_H_
+#define WEBKIT_BLOB_FILE_STREAM_READER_H_
#pragma once
#include "base/basictypes.h"
@@ -12,18 +12,17 @@
#include "webkit/blob/blob_export.h"
namespace net {
-class FileStream;
class IOBuffer;
}
namespace webkit_blob {
// A generic interface for reading a file-like object.
-class BLOB_EXPORT FileReader {
+class BLOB_EXPORT FileStreamReader {
public:
// It is valid to delete the reader at any time. If the stream is deleted
// while it has a pending read, its callback will not be called.
- virtual ~FileReader() {}
+ virtual ~FileStreamReader() {}
// Reads from the current cursor position asynchronously.
//
@@ -44,4 +43,4 @@ class BLOB_EXPORT FileReader {
} // namespace webkit_blob
-#endif // WEBKIT_BLOB_FILE_READER_H_
+#endif // WEBKIT_BLOB_FILE_STREAM_READER_H_
« no previous file with comments | « webkit/blob/file_reader.h ('k') | webkit/blob/local_file_reader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698