OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_POLICY_RECOMMENDATION_RESTORER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_POLICY_RECOMMENDATION_RESTORER_H_ |
6 #define CHROME_BROWSER_CHROMEOS_POLICY_RECOMMENDATION_RESTORER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_POLICY_RECOMMENDATION_RESTORER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 void RestoreAll(); | 57 void RestoreAll(); |
58 | 58 |
59 void StartTimer(); | 59 void StartTimer(); |
60 void StopTimer(); | 60 void StopTimer(); |
61 | 61 |
62 PrefChangeRegistrar pref_change_registrar_; | 62 PrefChangeRegistrar pref_change_registrar_; |
63 content::NotificationRegistrar notification_registrar_; | 63 content::NotificationRegistrar notification_registrar_; |
64 | 64 |
65 bool logged_in_; | 65 bool logged_in_; |
66 | 66 |
67 base::OneShotTimer<RecommendationRestorer> restore_timer_; | 67 base::OneShotTimer restore_timer_; |
68 | 68 |
69 DISALLOW_COPY_AND_ASSIGN(RecommendationRestorer); | 69 DISALLOW_COPY_AND_ASSIGN(RecommendationRestorer); |
70 }; | 70 }; |
71 | 71 |
72 } // namespace policy | 72 } // namespace policy |
73 | 73 |
74 #endif // CHROME_BROWSER_CHROMEOS_POLICY_RECOMMENDATION_RESTORER_H_ | 74 #endif // CHROME_BROWSER_CHROMEOS_POLICY_RECOMMENDATION_RESTORER_H_ |
OLD | NEW |