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

Unified Diff: services/asset_bundle/asset_unpacker_impl.h

Issue 1206673006: Don't use base::WorkerPool in the asset_bundle app. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: move comment Created 5 years, 6 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
« no previous file with comments | « services/asset_bundle/asset_bundle_impl.cc ('k') | services/asset_bundle/asset_unpacker_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
};
« no previous file with comments | « services/asset_bundle/asset_bundle_impl.cc ('k') | services/asset_bundle/asset_unpacker_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698