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

Unified Diff: load.cc

Issue 3166035: add more ownership API methods to libcros (Closed) Base URL: http://git.chromium.org/git/cros.git
Patch Set: Forgot to INIT_FUNC some new stuff Created 10 years, 4 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 | « drive_login.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 f58904fce04a517b7bc8dd20d193e513cb50a244..a5b39ad7dd34f84aea26ed3a496a054853be6330 100644
--- a/load.cc
+++ b/load.cc
@@ -172,11 +172,24 @@ DECL_FUNC_1(FreeDeviceNetworkList, void, DeviceNetworkList*);
DECL_FUNC_2(SetSynapticsParameter, void, SynapticsParameter, int);
// Login
+DECL_FUNC_2(CheckWhitelist, bool, const char*, std::vector<uint8>*);
DECL_FUNC_0(EmitLoginPromptReady, bool);
+DECL_FUNC_2(RestartJob, bool, int, const char*);
+DECL_FUNC_3(RetrieveProperty,
+ bool,
+ const char*,
+ std::string*,
+ std::vector<uint8>*);
DECL_FUNC_1(SetOwnerKey, bool, const std::vector<uint8>&);
DECL_FUNC_2(StartSession, bool, const char*, const char*);
DECL_FUNC_1(StopSession, bool, const char*);
-DECL_FUNC_2(RestartJob, bool, int, const char*);
+DECL_FUNC_3(StoreProperty,
+ bool,
+ const char*,
+ const char*,
+ const std::vector<uint8>&);
+DECL_FUNC_2(Unwhitelist, bool, const char*, const std::vector<uint8>&);
+DECL_FUNC_2(Whitelist, bool, const char*, const std::vector<uint8>&);
DECL_FUNC_2(MonitorSession, SessionConnection, SessionMonitor, void*);
DECL_FUNC_1(DisconnectSession, void, SessionConnection);
@@ -367,11 +380,16 @@ bool LoadLibcros(const char* path_to_libcros, std::string& error_string) {
INIT_FUNC(SetSynapticsParameter);
// Login
+ INIT_FUNC(CheckWhitelist);
INIT_FUNC(EmitLoginPromptReady);
+ INIT_FUNC(RestartJob);
+ INIT_FUNC(RetrieveProperty);
INIT_FUNC(SetOwnerKey);
INIT_FUNC(StartSession);
INIT_FUNC(StopSession);
- INIT_FUNC(RestartJob);
+ INIT_FUNC(StoreProperty);
+ INIT_FUNC(Unwhitelist);
+ INIT_FUNC(Whitelist);
INIT_FUNC(MonitorSession);
INIT_FUNC(DisconnectSession);
« no previous file with comments | « drive_login.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698