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

Unified Diff: chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc

Issue 957673003: Chrome OS Gaia: Set param 'chrometype' for MinuteMaid (chromebox, chromebase or chromebook) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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: chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc
diff --git a/chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc b/chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc
index c0dfa04b06eb1fb2e088422673ac36408bf7b240..7bd35854a127dd37d39c97f6975386157f1c3651 100644
--- a/chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc
+++ b/chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc
@@ -12,6 +12,7 @@
#include "base/values.h"
#include "chrome/browser/browser_process.h"
#include "chrome/browser/browser_shutdown.h"
+#include "chrome/browser/chromeos/chromeos_utils.h"
#include "chrome/browser/chromeos/input_method/input_method_util.h"
#include "chrome/browser/chromeos/language_preferences.h"
#include "chrome/browser/chromeos/login/screens/network_error.h"
@@ -231,6 +232,7 @@ void GaiaScreenHandler::LoadGaia(const GaiaContext& context) {
std::string enterprise_domain(connector->GetEnterpriseDomain());
if (!enterprise_domain.empty())
params.SetString("enterpriseDomain", enterprise_domain);
+ params.SetString("chromeType", GetChromeDeviceTypeForMinuteMaid());
Nikita (slow) 2015/02/25 09:28:43 I suggest set this parameter only if device ID str
Roman Sorokin (ftl) 2015/02/25 10:28:39 Done.
params.SetString("clientId",
GaiaUrls::GetInstance()->oauth2_chrome_client_id());
if (!command_line->HasSwitch(switches::kGaiaEndpointChromeOS)) {

Powered by Google App Engine
This is Rietveld 408576698