summaryrefslogtreecommitdiffstats
path: root/chrome/browser/io_thread.h
diff options
context:
space:
mode:
authordcheng@chromium.org <dcheng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-21 02:17:53 +0000
committerdcheng@chromium.org <dcheng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-21 02:17:53 +0000
commit21ee224e0862f56ce9d88f2c91950a40cfae6aa0 (patch)
tree76155edd9268f689a5e6dfa4da2b529db0a95b41 /chrome/browser/io_thread.h
parent40d347eadcce30d0528eb53b16ef3f62026075d6 (diff)
downloadchromium_src-21ee224e0862f56ce9d88f2c91950a40cfae6aa0.zip
chromium_src-21ee224e0862f56ce9d88f2c91950a40cfae6aa0.tar.gz
chromium_src-21ee224e0862f56ce9d88f2c91950a40cfae6aa0.tar.bz2
base::Bind() conversion for IOThread.
BUG=none TEST=trybots Review URL: http://codereview.chromium.org/8473009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110874 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/io_thread.h')
-rw-r--r--chrome/browser/io_thread.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/chrome/browser/io_thread.h b/chrome/browser/io_thread.h
index 6e4970e..3f86173 100644
--- a/chrome/browser/io_thread.h
+++ b/chrome/browser/io_thread.h
@@ -9,9 +9,8 @@
#include <string>
#include "base/basictypes.h"
-#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
-#include "base/task.h"
+#include "base/memory/weak_ptr.h"
#include "chrome/browser/net/ssl_config_service_manager.h"
#include "chrome/browser/prefs/pref_member.h"
#include "content/browser/browser_process_sub_thread.h"
@@ -180,7 +179,7 @@ class IOThread : public content::BrowserProcessSubThread {
net::SdchManager* sdch_manager_;
- ScopedRunnableMethodFactory<IOThread> method_factory_;
+ base::WeakPtrFactory<IOThread> weak_factory_;
DISALLOW_COPY_AND_ASSIGN(IOThread);
};