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

Unified Diff: load.cc

Issue 6648007: Libcros changes for issue_12743: Add async RequestUpdateCheck call. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/cros.git@master
Patch Set: Used scoped_ptr in callback data. Created 9 years, 9 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
« chromeos_update_engine.cc ('K') | « chromeos_update_engine.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: load.cc
diff --git a/load.cc b/load.cc
index 4b4dec34dc928a0a065a428cfda462580430b0b8..4457387c0a7893ff2901ee27d443080843314f58 100644
--- a/load.cc
+++ b/load.cc
@@ -368,6 +368,7 @@ DECL_FUNC_2(MonitorUpdateStatus, UpdateStatusConnection, UpdateMonitor, void*);
DECL_FUNC_1(DisconnectUpdateProgress, void, UpdateStatusConnection);
DECL_FUNC_1(RetrieveUpdateProgress, bool, UpdateProgress*);
DECL_FUNC_0(InitiateUpdateCheck, bool);
+DECL_FUNC_2(RequestUpdateCheck, void, UpdateCallback, void*);
DECL_FUNC_0(RebootIfUpdated, bool);
DECL_FUNC_1(SetTrack, bool, const std::string&);
DECL_FUNC_0(GetTrack, std::string);
@@ -647,6 +648,7 @@ bool LoadLibcros(const char* path_to_libcros, std::string& error_string) {
INIT_FUNC(DisconnectUpdateProgress);
INIT_FUNC(RetrieveUpdateProgress);
INIT_FUNC(InitiateUpdateCheck);
+ INIT_FUNC(RequestUpdateCheck);
INIT_FUNC(RebootIfUpdated);
INIT_FUNC(SetTrack);
INIT_FUNC(GetTrack);
« chromeos_update_engine.cc ('K') | « chromeos_update_engine.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698