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

Unified Diff: chrome/browser/extensions/extension_webstore_private_api.cc

Issue 6805008: Remove RDH from UtilityProcessHost. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix presubmit. Created 9 years, 8 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
Index: chrome/browser/extensions/extension_webstore_private_api.cc
diff --git a/chrome/browser/extensions/extension_webstore_private_api.cc b/chrome/browser/extensions/extension_webstore_private_api.cc
index ca7e9845f1019518dfeb652448122acdc5259b58..ff8b374af687207297852ba4475c7b5679e041a7 100644
--- a/chrome/browser/extensions/extension_webstore_private_api.cc
+++ b/chrome/browser/extensions/extension_webstore_private_api.cc
@@ -164,13 +164,12 @@ class SafeBeginInstallHelper : public UtilityProcessHost::Client {
BrowserThread::IO,
FROM_HERE,
NewRunnableMethod(this,
- &SafeBeginInstallHelper::StartWorkOnIOThread,
- g_browser_process->resource_dispatcher_host()));
+ &SafeBeginInstallHelper::StartWorkOnIOThread));
}
- void StartWorkOnIOThread(ResourceDispatcherHost* rdh) {
+ void StartWorkOnIOThread() {
CHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
- utility_host_ = new UtilityProcessHost(rdh, this, BrowserThread::IO);
+ utility_host_ = new UtilityProcessHost(this, BrowserThread::IO);
utility_host_->StartBatchMode();
if (icon_data_.empty())
icon_decode_complete_ = true;
« no previous file with comments | « chrome/browser/extensions/extension_updater.cc ('k') | chrome/browser/extensions/sandboxed_extension_unpacker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698