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

Unified Diff: session_manager_main.cc

Issue 6469072: [login_manager] Use keygen helper to generate owner key (Closed) Base URL: http://git.chromium.org/git/login_manager.git@master
Patch Set: Add a few constants Created 9 years, 10 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
Index: session_manager_main.cc
diff --git a/session_manager_main.cc b/session_manager_main.cc
index 48f32f47c2b7cdfc51fce5d306297c5dacb3df91..d087d8bcf51a8dec9ae1b0f711aebee86f4c5392 100644
--- a/session_manager_main.cc
+++ b/session_manager_main.cc
@@ -128,6 +128,8 @@ int main(int argc, char* argv[]) {
manager->set_file_checker(new login_manager::FileChecker(magic_chrome_file));
manager->set_mitigator(
new login_manager::WipeMitigator(new login_manager::SystemUtils()));
+ if (uid_set)
+ manager->set_uid(uid);
LOG_IF(FATAL, !manager->Initialize()) << "Failed";
LOG_IF(FATAL, !manager->Register(chromeos::dbus::GetSystemBusConnection()))
« no previous file with comments | « owner_key.cc ('k') | session_manager_service.h » ('j') | session_manager_service.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698