Index: services/asset_bundle/asset_unpacker_impl.h |
diff --git a/services/asset_bundle/asset_unpacker_impl.h b/services/asset_bundle/asset_unpacker_impl.h |
index 5ae88a79a92b00bbf5874edb15c2c9a21f2506df..92296114bfcc9f79e448e9a66fc106a571504485 100644 |
--- a/services/asset_bundle/asset_unpacker_impl.h |
+++ b/services/asset_bundle/asset_unpacker_impl.h |
@@ -6,6 +6,7 @@ |
#define SERVICES_ASSET_BUNDLE_ASSET_UNPACKER_IMPL_H_ |
#include "base/macros.h" |
+#include "base/task_runner.h" |
#include "mojo/public/cpp/bindings/interface_request.h" |
#include "mojo/public/cpp/bindings/strong_binding.h" |
#include "mojo/public/cpp/system/data_pipe.h" |
@@ -16,7 +17,8 @@ namespace asset_bundle { |
class AssetUnpackerImpl : public AssetUnpacker { |
public: |
- AssetUnpackerImpl(InterfaceRequest<AssetUnpacker> request); |
+ AssetUnpackerImpl(InterfaceRequest<AssetUnpacker> request, |
+ scoped_refptr<base::TaskRunner> worker_runner); |
~AssetUnpackerImpl() override; |
// AssetUnpacker implementation |
@@ -26,6 +28,8 @@ class AssetUnpackerImpl : public AssetUnpacker { |
private: |
StrongBinding<AssetUnpacker> binding_; |
+ scoped_refptr<base::TaskRunner> worker_runner_; |
+ |
DISALLOW_COPY_AND_ASSIGN(AssetUnpackerImpl); |
}; |