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

Unified Diff: chrome/browser/chromeos/login/wizard_controller.cc

Issue 7105018: UMA metrics for cloud policies. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed detection of some events, rebased Created 9 years, 6 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/chromeos/login/wizard_controller.cc
diff --git a/chrome/browser/chromeos/login/wizard_controller.cc b/chrome/browser/chromeos/login/wizard_controller.cc
index a073a5b11293378995753c6182b3e6a0278846cc..928ca80c853cdeafb5c35628f927e65fd66c35bc 100644
--- a/chrome/browser/chromeos/login/wizard_controller.cc
+++ b/chrome/browser/chromeos/login/wizard_controller.cc
@@ -35,6 +35,7 @@
#include "chrome/browser/chromeos/login/user_manager.h"
#include "chrome/browser/chromeos/login/wizard_accessibility_helper.h"
#include "chrome/browser/chromeos/metrics_cros_settings_provider.h"
+#include "chrome/browser/policy/enterprise_metrics.h"
#include "chrome/browser/prefs/pref_service.h"
#include "chrome/browser/profiles/profile_manager.h"
#include "chrome/common/pref_names.h"
@@ -93,6 +94,8 @@ void SaveStringPreferenceForced(const char* pref_name,
namespace chromeos {
+namespace em = enterprise_management;
+
const char WizardController::kNetworkScreenName[] = "network";
const char WizardController::kLoginScreenName[] = "login";
const char WizardController::kUpdateScreenName[] = "update";
@@ -295,6 +298,7 @@ void WizardController::ShowHTMLPageScreen() {
}
void WizardController::ShowEnterpriseEnrollmentScreen() {
+ em::LogEnrollmentOperation(em::kEnrollmentShowScreen);
kmixter1 2011/06/28 01:06:02 how is this different from kEnrollmentStarted? Is
Joao da Silva 2011/06/30 12:57:00 As you mention, this meant the enrollment screen w
SetStatusAreaVisible(true);
host_->SetOobeProgress(chromeos::BackgroundView::SIGNIN);
SetCurrentScreen(GetEnterpriseEnrollmentScreen());

Powered by Google App Engine
This is Rietveld 408576698