| Index: ppapi/native_client/src/trusted/plugin/service_runtime.h
|
| diff --git a/ppapi/native_client/src/trusted/plugin/service_runtime.h b/ppapi/native_client/src/trusted/plugin/service_runtime.h
|
| index 5a93d27e54385882e4db1d0256c230e7efe60243..bfb5aec03575681e5e5fa6d4c0d91fa873659910 100644
|
| --- a/ppapi/native_client/src/trusted/plugin/service_runtime.h
|
| +++ b/ppapi/native_client/src/trusted/plugin/service_runtime.h
|
| @@ -125,14 +125,12 @@ class PluginReverseInterface: public nacl::ReverseInterface {
|
|
|
| virtual void ReportExitStatus(int exit_status);
|
|
|
| + // TODO(teravest): Remove this method once it's gone from
|
| + // nacl::ReverseInterface.
|
| virtual int64_t RequestQuotaForWrite(nacl::string file_id,
|
| int64_t offset,
|
| int64_t bytes_to_write);
|
|
|
| - void AddQuotaManagedFile(const nacl::string& file_id,
|
| - const pp::FileIO& file_io);
|
| - void AddTempQuotaManagedFile(const nacl::string& file_id);
|
| -
|
| // This is a sibling of OpenManifestEntry. While OpenManifestEntry is
|
| // a sync function and must be called on a non-main thread,
|
| // OpenManifestEntryAsync must be called on the main thread. Upon completion
|
| @@ -159,7 +157,6 @@ class PluginReverseInterface: public nacl::ReverseInterface {
|
| ServiceRuntime* service_runtime_;
|
| NaClMutex mu_;
|
| NaClCondVar cv_;
|
| - std::set<int64_t> quota_files_;
|
| bool shutting_down_;
|
|
|
| pp::CompletionCallback init_done_cb_;
|
| @@ -218,10 +215,6 @@ class ServiceRuntime {
|
|
|
| nacl::string GetCrashLogOutput();
|
|
|
| - // To establish quota callbacks the pnacl coordinator needs to communicate
|
| - // with the reverse interface.
|
| - PluginReverseInterface* rev_interface() const { return rev_interface_; }
|
| -
|
| private:
|
| NACL_DISALLOW_COPY_AND_ASSIGN(ServiceRuntime);
|
| bool SetupCommandChannel();
|
|
|