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

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: 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 <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 void OnKioskAutolaunchCanceled(); 221 void OnKioskAutolaunchCanceled();
222 void OnKioskAutolaunchConfirmed(); 222 void OnKioskAutolaunchConfirmed();
223 void OnKioskEnableCompleted(); 223 void OnKioskEnableCompleted();
224 void OnWrongHWIDWarningSkipped(); 224 void OnWrongHWIDWarningSkipped();
225 void OnAutoEnrollmentCheckCompleted(); 225 void OnAutoEnrollmentCheckCompleted();
226 void OnTermsOfServiceDeclined(); 226 void OnTermsOfServiceDeclined();
227 void OnTermsOfServiceAccepted(); 227 void OnTermsOfServiceAccepted();
228 void OnControllerPairingFinished(); 228 void OnControllerPairingFinished();
229 void OnHostPairingFinished(); 229 void OnHostPairingFinished();
230 230
231 // Callback function after setting MetricsReporting
232 void InitiateMetricsReportingChangeCallback(bool success);
233
231 // Loads brand code on I/O enabled thread and stores to Local State. 234 // Loads brand code on I/O enabled thread and stores to Local State.
232 void LoadBrandCodeFromFile(); 235 void LoadBrandCodeFromFile();
233 236
234 // Called after all post-EULA blocking tasks have been completed. 237 // Called after all post-EULA blocking tasks have been completed.
235 void OnEulaBlockingTasksDone(); 238 void OnEulaBlockingTasksDone();
236 239
237 // Shows update screen and starts update process. 240 // Shows update screen and starts update process.
238 void InitiateOOBEUpdate(); 241 void InitiateOOBEUpdate();
239 242
240 // Actions that should be done right after EULA is accepted, 243 // Actions that should be done right after EULA is accepted,
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
418 base::Closure on_timezone_resolved_for_testing_; 421 base::Closure on_timezone_resolved_for_testing_;
419 422
420 base::WeakPtrFactory<WizardController> weak_factory_; 423 base::WeakPtrFactory<WizardController> weak_factory_;
421 424
422 DISALLOW_COPY_AND_ASSIGN(WizardController); 425 DISALLOW_COPY_AND_ASSIGN(WizardController);
423 }; 426 };
424 427
425 } // namespace chromeos 428 } // namespace chromeos
426 429
427 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WIZARD_CONTROLLER_H_ 430 #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/chromeos/login/wizard_controller.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698