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

Unified Diff: child_job.cc

Issue 6882055: Revert "Add support for removing and adding --dom-login from arguments" (Closed) Base URL: http://git.chromium.org/git/login_manager.git@master
Patch Set: Created 9 years, 8 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 | « child_job.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: child_job.cc
diff --git a/child_job.cc b/child_job.cc
index eab11d4884a09e7e73d6ef6f96b584aeb1b777e6..72d3c2e1627a4397bbf6e1a9dce2747d8df12ae2 100644
--- a/child_job.cc
+++ b/child_job.cc
@@ -39,8 +39,6 @@ const char ChildJob::kLoginManagerFlag[] = "--login-manager";
// static
const char ChildJob::kLoginUserFlag[] = "--login-user=";
// static
-const char ChildJob::kDOMLoginFlag[] = "--dom-login";
-// static
const char ChildJob::kBWSIFlag[] = "--bwsi";
// static
const char ChildJob::kWindowManagerSuffix[] = "window-manager-session.sh";
@@ -107,14 +105,6 @@ void ChildJob::StartSession(const std::string& email) {
removed_login_manager_flag_ = true;
}
- to_erase = std::remove(arguments_.begin(),
- arguments_.end(),
- kDOMLoginFlag);
- if (to_erase != arguments_.end()) {
- arguments_.erase(to_erase, arguments_.end());
- removed_dom_login_flag_ = true;
- }
-
arguments_.push_back(kLoginUserFlag);
arguments_.back().append(email);
}
@@ -126,12 +116,6 @@ void ChildJob::StopSession() {
arguments_.push_back(kLoginManagerFlag);
removed_login_manager_flag_ = false;
}
-
- if (removed_dom_login_flag_) {
- arguments_.push_back(kDOMLoginFlag);
- removed_dom_login_flag_ = false;
- }
-
}
uid_t ChildJob::GetDesiredUid() const {
« no previous file with comments | « child_job.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698