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

Unified Diff: webkit/plugins/ppapi/quota_file_io.h

Issue 8315012: base::Bind: Convert FileUtilProxy::GetFileInfoCallback. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Pipelining. Created 9 years, 2 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: webkit/plugins/ppapi/quota_file_io.h
diff --git a/webkit/plugins/ppapi/quota_file_io.h b/webkit/plugins/ppapi/quota_file_io.h
index 02abdd199773cf872cbc7701964082be2a48f4a2..9c47113f1ad3d22fd419b2dfbaa9d7410540e4b3 100644
--- a/webkit/plugins/ppapi/quota_file_io.h
+++ b/webkit/plugins/ppapi/quota_file_io.h
@@ -8,7 +8,6 @@
#include <deque>
#include "base/file_util_proxy.h"
-#include "base/memory/scoped_callback_factory.h"
#include "base/memory/weak_ptr.h"
#include "base/platform_file.h"
#include "googleurl/src/gurl.h"
@@ -42,7 +41,7 @@ class QuotaFileIO {
// Otherwise it returns false and |callback| will not be dispatched.
// |callback| will not be dispatched either when this instance is
// destroyed before the operation completes.
- // SetLength/WillSetLength cannot be called while there're any inflight
+ // SetLength/WillSetLength cannot be called while there're any in-flight
// operations. For Write/WillWrite it is guaranteed that |callback| are
// always dispatched in the same order as Write being called.
bool Write(int64_t offset,
@@ -96,7 +95,7 @@ class QuotaFileIO {
int64_t cached_file_size_;
int64_t cached_available_space_;
- // Quota-related queries and errors occured during inflight quota checks.
+ // Quota-related queries and errors occurred during in-flight quota checks.
int outstanding_quota_queries_;
int outstanding_errors_;
@@ -104,8 +103,8 @@ class QuotaFileIO {
int64_t max_written_offset_;
int inflight_operations_;
- base::ScopedCallbackFactory<QuotaFileIO> callback_factory_;
- base::WeakPtrFactory<QuotaFileIO> weak_ptr_factory_;
+ base::WeakPtrFactory<QuotaFileIO> weak_factory_;
+
DISALLOW_COPY_AND_ASSIGN(QuotaFileIO);
};

Powered by Google App Engine
This is Rietveld 408576698