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

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

Issue 11412067: [rlz,cros] RLZ glue for ChromeOS. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . 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/chrome_browser_main.cc » ('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 98c9ab82294323c116448f64a8e5d9777cc9f45d..5ec4c568d7031264c99887d2619aac8145aeb087 100644
--- a/chrome/browser/automation/testing_automation_provider_chromeos.cc
+++ b/chrome/browser/automation/testing_automation_provider_chromeos.cc
@@ -255,8 +255,10 @@ 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("usage_stats_reporting", &usage_stats_reporting) ||
+ !args->GetBoolean("rlz_enabled", &rlz_enabled)) {
AutomationJSONReply(this, reply_message).SendError(
"Invalid or missing args.");
return;
@@ -271,7 +273,8 @@ void TestingAutomationProvider::AcceptOOBEEula(DictionaryValue* args,
}
// Observer will delete itself.
new WizardControllerObserver(wizard_controller, this, reply_message);
- wizard_controller->GetEulaScreen()->OnExit(accepted, usage_stats_reporting);
+ wizard_controller->GetEulaScreen()->OnExit(
+ accepted, usage_stats_reporting, rlz_enabled);
}
void TestingAutomationProvider::CancelOOBEUpdate(DictionaryValue* args,
« no previous file with comments | « chrome/app/chromeos_strings.grdp ('k') | chrome/browser/chrome_browser_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698