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

Unified Diff: chrome/browser/ui/webui/chromeos/login/demo_mode_detector.h

Issue 381833002: Move demo mode preference registration. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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
« no previous file with comments | « chrome/browser/prefs/browser_prefs.cc ('k') | chrome/browser/ui/webui/chromeos/login/demo_mode_detector.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/chromeos/login/demo_mode_detector.h
diff --git a/chrome/browser/ui/webui/chromeos/login/demo_mode_detector.h b/chrome/browser/ui/webui/chromeos/login/demo_mode_detector.h
index b489e36f968ec5010cc8da0722b68b5cfb563129..8c27c0e90fc52111bf55decc0303eb4317492cfc 100644
--- a/chrome/browser/ui/webui/chromeos/login/demo_mode_detector.h
+++ b/chrome/browser/ui/webui/chromeos/login/demo_mode_detector.h
@@ -12,6 +12,8 @@
#include "base/timer/timer.h"
#include "chrome/browser/chromeos/idle_detector.h"
+class PrefRegistrySimple;
+
namespace chromeos {
// Helper for idle state and demo-mode detection.
@@ -24,6 +26,9 @@ class DemoModeDetector {
void InitDetection();
void StopDetection();
+ // Registers the preference for derelict state.
+ static void RegisterPrefs(PrefRegistrySimple* registry);
+
private:
void StartIdleDetection();
void StartOobeTimer();
« no previous file with comments | « chrome/browser/prefs/browser_prefs.cc ('k') | chrome/browser/ui/webui/chromeos/login/demo_mode_detector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698