diff options
| author | acolwell@chromium.org <acolwell@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-07 23:45:35 +0000 |
|---|---|---|
| committer | acolwell@chromium.org <acolwell@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-07 23:45:35 +0000 |
| commit | 2f0158e718ff28a6884ffed00fc740a771e7929f (patch) | |
| tree | 94e900a0a0be8f5cb20cd76eabfe73dfc1634437 /chrome/browser/extensions/extension_history_api.cc | |
| parent | fdd84dc3a652c41a5f4e27a2363221c7a215f4f3 (diff) | |
| download | chromium_src-2f0158e718ff28a6884ffed00fc740a771e7929f.zip chromium_src-2f0158e718ff28a6884ffed00fc740a771e7929f.tar.gz chromium_src-2f0158e718ff28a6884ffed00fc740a771e7929f.tar.bz2 | |
Revert 104597 - base::Bind: Complete cleanup of history/.
Breaks Linux Touch.
BUG=none
TEST=none
R=csilv@chromium.org
Review URL: http://codereview.chromium.org/8163005
TBR=jhawkins@chromium.org
Review URL: http://codereview.chromium.org/8207012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104604 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/extension_history_api.cc')
| -rw-r--r-- | chrome/browser/extensions/extension_history_api.cc | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/chrome/browser/extensions/extension_history_api.cc b/chrome/browser/extensions/extension_history_api.cc index e6c6a8a..3f4dda7 100644 --- a/chrome/browser/extensions/extension_history_api.cc +++ b/chrome/browser/extensions/extension_history_api.cc @@ -272,8 +272,7 @@ bool SearchHistoryFunction::RunAsyncImpl() { HistoryService* hs = profile()->GetHistoryService(Profile::EXPLICIT_ACCESS); hs->QueryHistory(search_text, options, &cancelable_consumer_, - base::Bind(&SearchHistoryFunction::SearchComplete, - base::Unretained(this))); + NewCallback(this, &SearchHistoryFunction::SearchComplete)); return true; } @@ -350,8 +349,7 @@ bool DeleteRangeHistoryFunction::RunAsyncImpl() { begin_time, end_time, &cancelable_consumer_, - base::Bind(&DeleteRangeHistoryFunction::DeleteComplete, - base::Unretained(this))); + NewCallback(this, &DeleteRangeHistoryFunction::DeleteComplete)); return true; } @@ -368,8 +366,7 @@ bool DeleteAllHistoryFunction::RunAsyncImpl() { base::Time::UnixEpoch(), // From the beginning of the epoch. base::Time::Now(), // To the current time. &cancelable_consumer_, - base::Bind(&DeleteAllHistoryFunction::DeleteComplete, - base::Unretained(this))); + NewCallback(this, &DeleteAllHistoryFunction::DeleteComplete)); return true; } |
