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

Unified Diff: chrome/browser/browser_about_handler.cc

Issue 8113025: base::Bind: More converts, mostly in WebUI. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review fixes. Created 9 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 | « base/callback.h.pump ('k') | chrome/browser/chromeos/login/version_info_updater.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browser_about_handler.cc
diff --git a/chrome/browser/browser_about_handler.cc b/chrome/browser/browser_about_handler.cc
index d4a076382dc592724a0e16623a9dda67cd8008d3..33fb627cc4f6a28c7ce82082b9021a142ab66ec5 100644
--- a/chrome/browser/browser_about_handler.cc
+++ b/chrome/browser/browser_about_handler.cc
@@ -8,7 +8,8 @@
#include <string>
#include <vector>
-#include "base/callback.h"
+#include "base/bind.h"
+#include "base/bind_helpers.h"
#include "base/command_line.h"
#include "base/file_util.h"
#include "base/i18n/number_formatting.h"
@@ -1365,7 +1366,8 @@ ChromeOSAboutVersionHandler::ChromeOSAboutVersionHandler(
: source_(source),
request_id_(request_id) {
loader_.GetVersion(&consumer_,
- NewCallback(this, &ChromeOSAboutVersionHandler::OnVersion),
+ base::Bind(&ChromeOSAboutVersionHandler::OnVersion,
+ base::Unretained(this)),
chromeos::VersionLoader::VERSION_FULL);
}
« no previous file with comments | « base/callback.h.pump ('k') | chrome/browser/chromeos/login/version_info_updater.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698