| 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..a95451458137951700880dcf03c6cc435b0c15b8 100644
|
| --- a/webkit/plugins/ppapi/quota_file_io.h
|
| +++ b/webkit/plugins/ppapi/quota_file_io.h
|
| @@ -7,8 +7,8 @@
|
|
|
| #include <deque>
|
|
|
| +#include "base/callback.h"
|
| #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"
|
| @@ -48,13 +48,13 @@ class QuotaFileIO {
|
| bool Write(int64_t offset,
|
| const char* buffer,
|
| int32_t bytes_to_write,
|
| - WriteCallback* callback);
|
| + const WriteCallback& callback);
|
| bool WillWrite(int64_t offset,
|
| int32_t bytes_to_write,
|
| - WriteCallback* callback);
|
| + const WriteCallback& callback);
|
|
|
| - bool SetLength(int64_t length, StatusCallback* callback);
|
| - bool WillSetLength(int64_t length, StatusCallback* callback);
|
| + bool SetLength(int64_t length, const StatusCallback& callback);
|
| + bool WillSetLength(int64_t length, const StatusCallback& callback);
|
|
|
| // Returns the plugin delegate or NULL if the resource has outlived the
|
| // instance.
|
| @@ -104,7 +104,6 @@ class QuotaFileIO {
|
| int64_t max_written_offset_;
|
| int inflight_operations_;
|
|
|
| - base::ScopedCallbackFactory<QuotaFileIO> callback_factory_;
|
| base::WeakPtrFactory<QuotaFileIO> weak_ptr_factory_;
|
| DISALLOW_COPY_AND_ASSIGN(QuotaFileIO);
|
| };
|
|
|