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

Unified Diff: chrome/browser/chromeos/file_system_provider/throttled_file_system.h

Issue 845083005: [fsp] Simplify aborting logic. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed a comment. Created 5 years, 11 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
Index: chrome/browser/chromeos/file_system_provider/throttled_file_system.h
diff --git a/chrome/browser/chromeos/file_system_provider/throttled_file_system.h b/chrome/browser/chromeos/file_system_provider/throttled_file_system.h
index 2866c9ff666864d6f283b81f6dc6d1d6c6ac7f42..35644b0a5fbec04970d468b0a1a0b3c5a8eb33f7 100644
--- a/chrome/browser/chromeos/file_system_provider/throttled_file_system.h
+++ b/chrome/browser/chromeos/file_system_provider/throttled_file_system.h
@@ -122,6 +122,9 @@ class ThrottledFileSystem : public ProvidedFileSystemInterface {
virtual base::WeakPtr<ProvidedFileSystemInterface> GetWeakPtr() override;
private:
+ // Called when an operation enqueued with |queue_token| is aborted.
+ void Abort(int queue_token);
+
// Called when opening a file is completed with either a success or an error.
void OnOpenFileCompleted(int queue_token,
const OpenFileCallback& callback,

Powered by Google App Engine
This is Rietveld 408576698