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

Unified Diff: services/asset_bundle/asset_bundle_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 | « no previous file | services/asset_bundle/asset_bundle_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/asset_bundle/asset_bundle_impl.h
diff --git a/services/asset_bundle/asset_bundle_impl.h b/services/asset_bundle/asset_bundle_impl.h
index 02b4a08097535f32562e38afb43d49f3f408423b..a742c3249d327e10738914b2b6854a9710962c09 100644
--- a/services/asset_bundle/asset_bundle_impl.h
+++ b/services/asset_bundle/asset_bundle_impl.h
@@ -8,6 +8,7 @@
#include "base/files/scoped_temp_dir.h"
#include "base/macros.h"
#include "base/memory/scoped_ptr.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"
@@ -19,7 +20,8 @@ namespace asset_bundle {
class AssetBundleImpl : public AssetBundle {
public:
AssetBundleImpl(InterfaceRequest<AssetBundle> request,
- scoped_ptr<base::ScopedTempDir> asset_dir);
+ scoped_ptr<base::ScopedTempDir> asset_dir,
+ scoped_refptr<base::TaskRunner> worker_runner);
~AssetBundleImpl() override;
// AssetBundle implementation
@@ -30,6 +32,7 @@ class AssetBundleImpl : public AssetBundle {
private:
StrongBinding<AssetBundle> binding_;
scoped_ptr<base::ScopedTempDir> asset_dir_;
+ scoped_refptr<base::TaskRunner> worker_runner_;
DISALLOW_COPY_AND_ASSIGN(AssetBundleImpl);
};
« no previous file with comments | « no previous file | services/asset_bundle/asset_bundle_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698