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

Unified Diff: chrome/browser/ui/webui/options/chromeos/about_page_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 | « chrome/browser/ui/webui/net_internals_ui.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/options/chromeos/about_page_handler.cc
diff --git a/chrome/browser/ui/webui/options/chromeos/about_page_handler.cc b/chrome/browser/ui/webui/options/chromeos/about_page_handler.cc
index cfe9738bde6792c4934261cf5942b3dd6334f526..f4ae091a18ae3d411425ccf79d9f2e5403c639f1 100644
--- a/chrome/browser/ui/webui/options/chromeos/about_page_handler.cc
+++ b/chrome/browser/ui/webui/options/chromeos/about_page_handler.cc
@@ -9,7 +9,6 @@
#include "base/basictypes.h"
#include "base/bind.h"
#include "base/bind_helpers.h"
-#include "base/callback_old.h"
#include "base/command_line.h"
#include "base/i18n/time_formatting.h"
#include "base/string16.h"
@@ -249,10 +248,12 @@ void AboutPageHandler::RegisterMessages() {
void AboutPageHandler::PageReady(const ListValue* args) {
// Version information is loaded from a callback
loader_.GetVersion(&consumer_,
- NewCallback(this, &AboutPageHandler::OnOSVersion),
+ base::Bind(&AboutPageHandler::OnOSVersion,
+ base::Unretained(this)),
VersionLoader::VERSION_FULL);
loader_.GetFirmware(&consumer_,
- NewCallback(this, &AboutPageHandler::OnOSFirmware));
+ base::Bind(&AboutPageHandler::OnOSFirmware,
+ base::Unretained(this)));
UpdateLibrary* update_library =
CrosLibrary::Get()->GetUpdateLibrary();
« no previous file with comments | « chrome/browser/ui/webui/net_internals_ui.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698