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

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

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/browser/chromeos/login/screen_observer.h ('k') | chrome/browser/chromeos/login/wizard_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/wizard_controller.h
diff --git a/chrome/browser/chromeos/login/wizard_controller.h b/chrome/browser/chromeos/login/wizard_controller.h
index 9af70b367de49d370cf8d915ddc5add68e442cca..ea15f2b0ea4eb8c6a7588e9f21f1fa169c5d1b17 100644
--- a/chrome/browser/chromeos/login/wizard_controller.h
+++ b/chrome/browser/chromeos/login/wizard_controller.h
@@ -10,6 +10,7 @@
#include "base/compiler_specific.h"
#include "base/gtest_prod_util.h"
#include "base/memory/scoped_ptr.h"
+#include "base/memory/weak_ptr.h"
#include "base/observer_list.h"
#include "base/time.h"
#include "base/timer.h"
@@ -191,6 +192,12 @@ class WizardController : public ScreenObserver {
void OnResetCanceled();
void OnOOBECompleted();
+ // Loads brand code on I/O enabled thread and stores to Local State.
+ void LoadBrandCodeFromFile();
+
+ // Called after all post-EULA blocking tasks have been completed.
+ void OnEulaBlockingTasksDone();
+
// Shows update screen and starts update process.
void InitiateOOBEUpdate();
@@ -208,6 +215,8 @@ class WizardController : public ScreenObserver {
const std::string& password) OVERRIDE;
virtual void SetUsageStatisticsReporting(bool val) OVERRIDE;
virtual bool GetUsageStatisticsReporting() const OVERRIDE;
+ virtual void SetRlzEnabled(bool val) OVERRIDE;
+ virtual bool GetRlzEnabled() const OVERRIDE;
// Switches from one screen to another.
void SetCurrentScreen(WizardScreen* screen);
@@ -272,6 +281,9 @@ class WizardController : public ScreenObserver {
// during wizard lifetime.
bool usage_statistics_reporting_;
+ // Whether RLZ tracking is enabled.
+ bool rlz_enabled_;
+
// If true then update check is cancelled and enrollment is started after
// EULA is accepted.
bool skip_update_enroll_after_eula_;
@@ -284,6 +296,8 @@ class WizardController : public ScreenObserver {
bool login_screen_started_;
+ base::WeakPtrFactory<WizardController> weak_ptr_factory_;
+
FRIEND_TEST_ALL_PREFIXES(EnterpriseEnrollmentScreenTest, TestCancel);
FRIEND_TEST_ALL_PREFIXES(WizardControllerFlowTest, Accelerators);
friend class WizardControllerFlowTest;
« no previous file with comments | « chrome/browser/chromeos/login/screen_observer.h ('k') | chrome/browser/chromeos/login/wizard_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698