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

Unified Diff: chrome/browser/chromeos/file_system_provider/fileapi/file_stream_reader.cc

Issue 2860963002: Spell success correctly. (Closed)
Patch Set: rebase, nits Created 3 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 | « no previous file | chrome/browser/chromeos/file_system_provider/provided_file_system_interface.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/file_system_provider/fileapi/file_stream_reader.cc
diff --git a/chrome/browser/chromeos/file_system_provider/fileapi/file_stream_reader.cc b/chrome/browser/chromeos/file_system_provider/fileapi/file_stream_reader.cc
index 855651e07df6c0ea0734a811abbceffbcd2a0c16..51d1f5b362ef0fd7397c00512d56fa558469691b 100644
--- a/chrome/browser/chromeos/file_system_provider/fileapi/file_stream_reader.cc
+++ b/chrome/browser/chromeos/file_system_provider/fileapi/file_stream_reader.cc
@@ -61,10 +61,10 @@ class FileStreamReader::OperationRunner
callback)));
}
- // Requests reading contents of a file. In case of either success or a failure
- // |callback| is executed. It can be called many times, until |has_more| is
- // set to false. This function guarantees that it will succeed only if the
- // file has not been changed while reading. Must be called on UI thread.
+ // Requests reading contents of a file. |callback| will always run eventually.
+ // It can be called many times, until |has_more| is set to false. This
+ // function guarantees that it will succeed only if the file has not been
+ // changed while reading. Must be called on UI thread.
void ReadFileOnUIThread(
scoped_refptr<net::IOBuffer> buffer,
int64_t offset,
@@ -92,8 +92,8 @@ class FileStreamReader::OperationRunner
&OperationRunner::OnReadFileCompletedOnUIThread, this, callback));
}
- // Requests metadata of a file. In case of either succes or a failure,
- // |callback| is executed. Must be called on UI thread.
+ // Requests metadata of a file. |callback| will always run eventually.
+ // Must be called on UI thread.
void GetMetadataOnUIThread(
const ProvidedFileSystemInterface::GetMetadataCallback& callback) {
DCHECK_CURRENTLY_ON(BrowserThread::UI);
« no previous file with comments | « no previous file | chrome/browser/chromeos/file_system_provider/provided_file_system_interface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698