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

Side by Side Diff: chrome/browser/chromeos/login/wizard_controller.h

Issue 506663003: Consolidates accessing and setting the UMA pref to be within metrics code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: minor changes and fixes Created 6 years, 3 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_WIZARD_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_WIZARD_CONTROLLER_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_WIZARD_CONTROLLER_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_WIZARD_CONTROLLER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 void OnKioskAutolaunchCanceled(); 206 void OnKioskAutolaunchCanceled();
207 void OnKioskAutolaunchConfirmed(); 207 void OnKioskAutolaunchConfirmed();
208 void OnKioskEnableCompleted(); 208 void OnKioskEnableCompleted();
209 void OnWrongHWIDWarningSkipped(); 209 void OnWrongHWIDWarningSkipped();
210 void OnAutoEnrollmentCheckCompleted(); 210 void OnAutoEnrollmentCheckCompleted();
211 void OnTermsOfServiceDeclined(); 211 void OnTermsOfServiceDeclined();
212 void OnTermsOfServiceAccepted(); 212 void OnTermsOfServiceAccepted();
213 void OnControllerPairingFinished(); 213 void OnControllerPairingFinished();
214 void OnHostPairingFinished(); 214 void OnHostPairingFinished();
215 215
216 // Callback function after setting MetricsReporting.
217 void InitiateMetricsReportingChangeCallback(bool enabled);
218
216 // Loads brand code on I/O enabled thread and stores to Local State. 219 // Loads brand code on I/O enabled thread and stores to Local State.
217 void LoadBrandCodeFromFile(); 220 void LoadBrandCodeFromFile();
218 221
219 // Called after all post-EULA blocking tasks have been completed. 222 // Called after all post-EULA blocking tasks have been completed.
220 void OnEulaBlockingTasksDone(); 223 void OnEulaBlockingTasksDone();
221 224
222 // Shows update screen and starts update process. 225 // Shows update screen and starts update process.
223 void InitiateOOBEUpdate(); 226 void InitiateOOBEUpdate();
224 227
225 // Actions that should be done right after EULA is accepted, 228 // Actions that should be done right after EULA is accepted,
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
396 base::Closure on_timezone_resolved_for_testing_; 399 base::Closure on_timezone_resolved_for_testing_;
397 400
398 base::WeakPtrFactory<WizardController> weak_factory_; 401 base::WeakPtrFactory<WizardController> weak_factory_;
399 402
400 DISALLOW_COPY_AND_ASSIGN(WizardController); 403 DISALLOW_COPY_AND_ASSIGN(WizardController);
401 }; 404 };
402 405
403 } // namespace chromeos 406 } // namespace chromeos
404 407
405 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WIZARD_CONTROLLER_H_ 408 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WIZARD_CONTROLLER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/wizard_controller.cc » ('j') | chrome/browser/metrics/metrics_reporting_state.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698