summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/extension_updater.h
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-30 01:49:06 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-30 01:49:06 +0000
commit95d291980d768c38e1f70bc041957870913e07f6 (patch)
tree383ea24e44f58696c3cf2871f44846f5a973f473 /chrome/browser/extensions/extension_updater.h
parentbb3bb6d013ca8b7b9fde9b985950f181cc32577a (diff)
downloadchromium_src-95d291980d768c38e1f70bc041957870913e07f6.zip
chromium_src-95d291980d768c38e1f70bc041957870913e07f6.tar.gz
chromium_src-95d291980d768c38e1f70bc041957870913e07f6.tar.bz2
Get rid of MessageLoop* caching in extensions code.
BUG=25354 Review URL: http://codereview.chromium.org/345023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30550 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/extension_updater.h')
-rw-r--r--chrome/browser/extensions/extension_updater.h15
1 files changed, 2 insertions, 13 deletions
diff --git a/chrome/browser/extensions/extension_updater.h b/chrome/browser/extensions/extension_updater.h
index 252bfeb..ed6ab2c 100644
--- a/chrome/browser/extensions/extension_updater.h
+++ b/chrome/browser/extensions/extension_updater.h
@@ -22,7 +22,6 @@
class Extension;
class ExtensionUpdaterTest;
-class MessageLoop;
class ExtensionUpdaterFileHandler;
class PrefService;
@@ -30,9 +29,7 @@ class PrefService;
//
// ExtensionUpdater* updater = new ExtensionUpdater(my_extensions_service,
// pref_service,
-// update_frequency_secs,
-// file_io_loop,
-// io_loop);
+// update_frequency_secs);
// updater.Start();
// ....
// updater.Stop();
@@ -45,9 +42,7 @@ class ExtensionUpdater
// controls how often update checks are scheduled.
ExtensionUpdater(ExtensionUpdateService* service,
PrefService* prefs,
- int frequency_seconds,
- MessageLoop* file_io_loop,
- MessageLoop* io_loop);
+ int frequency_seconds);
virtual ~ExtensionUpdater();
@@ -178,12 +173,6 @@ class ExtensionUpdater
base::OneShotTimer<ExtensionUpdater> timer_;
int frequency_seconds_;
- // The MessageLoop where we should do file I/O.
- MessageLoop* file_io_loop_;
-
- // The IO loop for IPC.
- MessageLoop* io_loop_;
-
PrefService* prefs_;
scoped_refptr<ExtensionUpdaterFileHandler> file_handler_;