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

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: Return updated state instead of success identifier + minor changes 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 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 void OnKioskAutolaunchCanceled(); 208 void OnKioskAutolaunchCanceled();
209 void OnKioskAutolaunchConfirmed(); 209 void OnKioskAutolaunchConfirmed();
210 void OnKioskEnableCompleted(); 210 void OnKioskEnableCompleted();
211 void OnWrongHWIDWarningSkipped(); 211 void OnWrongHWIDWarningSkipped();
212 void OnAutoEnrollmentCheckCompleted(); 212 void OnAutoEnrollmentCheckCompleted();
213 void OnTermsOfServiceDeclined(); 213 void OnTermsOfServiceDeclined();
214 void OnTermsOfServiceAccepted(); 214 void OnTermsOfServiceAccepted();
215 void OnControllerPairingFinished(); 215 void OnControllerPairingFinished();
216 void OnHostPairingFinished(); 216 void OnHostPairingFinished();
217 217
218 // Callback function after setting MetricsReporting
Alexei Svitkine (slow) 2014/09/09 15:27:15 Nit: Full sentences (add a .)
gayane -on leave until 09-2017 2014/09/09 19:40:51 Done.
219 void InitiateMetricsReportingChangeCallback(bool enabled);
220
218 // Loads brand code on I/O enabled thread and stores to Local State. 221 // Loads brand code on I/O enabled thread and stores to Local State.
219 void LoadBrandCodeFromFile(); 222 void LoadBrandCodeFromFile();
220 223
221 // Called after all post-EULA blocking tasks have been completed. 224 // Called after all post-EULA blocking tasks have been completed.
222 void OnEulaBlockingTasksDone(); 225 void OnEulaBlockingTasksDone();
223 226
224 // Shows update screen and starts update process. 227 // Shows update screen and starts update process.
225 void InitiateOOBEUpdate(); 228 void InitiateOOBEUpdate();
226 229
227 // Actions that should be done right after EULA is accepted, 230 // Actions that should be done right after EULA is accepted,
(...skipping 168 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