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

Unified Diff: chrome/browser/automation/testing_automation_provider_chromeos.cc

Issue 11473019: [cros,rlz] Remove RLZ checkbox from OOBE UI. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add back old strings Created 8 years 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/app/chromeos_strings.grdp ('k') | chrome/browser/chromeos/login/eula_screen.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/automation/testing_automation_provider_chromeos.cc
diff --git a/chrome/browser/automation/testing_automation_provider_chromeos.cc b/chrome/browser/automation/testing_automation_provider_chromeos.cc
index 5ec4c568d7031264c99887d2619aac8145aeb087..98c9ab82294323c116448f64a8e5d9777cc9f45d 100644
--- a/chrome/browser/automation/testing_automation_provider_chromeos.cc
+++ b/chrome/browser/automation/testing_automation_provider_chromeos.cc
@@ -255,10 +255,8 @@ void TestingAutomationProvider::AcceptOOBEEula(DictionaryValue* args,
IPC::Message* reply_message) {
bool accepted;
bool usage_stats_reporting;
- bool rlz_enabled;
if (!args->GetBoolean("accepted", &accepted) ||
- !args->GetBoolean("usage_stats_reporting", &usage_stats_reporting) ||
- !args->GetBoolean("rlz_enabled", &rlz_enabled)) {
+ !args->GetBoolean("usage_stats_reporting", &usage_stats_reporting)) {
AutomationJSONReply(this, reply_message).SendError(
"Invalid or missing args.");
return;
@@ -273,8 +271,7 @@ void TestingAutomationProvider::AcceptOOBEEula(DictionaryValue* args,
}
// Observer will delete itself.
new WizardControllerObserver(wizard_controller, this, reply_message);
- wizard_controller->GetEulaScreen()->OnExit(
- accepted, usage_stats_reporting, rlz_enabled);
+ wizard_controller->GetEulaScreen()->OnExit(accepted, usage_stats_reporting);
}
void TestingAutomationProvider::CancelOOBEUpdate(DictionaryValue* args,
« no previous file with comments | « chrome/app/chromeos_strings.grdp ('k') | chrome/browser/chromeos/login/eula_screen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698