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

Unified Diff: chrome/browser/utility_process_host.h

Issue 345023: Get rid of MessageLoop* caching in extensions code. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 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 | « chrome/browser/renderer_host/resource_dispatcher_host.cc ('k') | chrome/browser/utility_process_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/utility_process_host.h
===================================================================
--- chrome/browser/utility_process_host.h (revision 30521)
+++ chrome/browser/utility_process_host.h (working copy)
@@ -10,6 +10,7 @@
#include "base/basictypes.h"
#include "base/ref_counted.h"
#include "base/task.h"
+#include "chrome/browser/chrome_thread.h"
#include "chrome/common/child_process_host.h"
#include "chrome/common/extensions/update_manifest.h"
#include "ipc/ipc_channel.h"
@@ -17,7 +18,6 @@
class CommandLine;
class DictionaryValue;
class ListValue;
-class MessageLoop;
// This class acts as the browser-side host to a utility child process. A
// utility process is a short-lived sandboxed process that is created to run
@@ -72,7 +72,7 @@
};
UtilityProcessHost(ResourceDispatcherHost* rdh, Client* client,
- MessageLoop* client_loop);
+ ChromeThread::ID client_thread_id);
virtual ~UtilityProcessHost();
// Start a process to unpack the extension at the given path. The process
@@ -117,7 +117,7 @@
// A pointer to our client interface, who will be informed of progress.
scoped_refptr<Client> client_;
- MessageLoop* client_loop_;
+ ChromeThread::ID client_thread_id_;
DISALLOW_COPY_AND_ASSIGN(UtilityProcessHost);
};
« no previous file with comments | « chrome/browser/renderer_host/resource_dispatcher_host.cc ('k') | chrome/browser/utility_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698