| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_PROFILE_RESETTER_TRIGGERED_PROFILE_RESETTER_H_ | 5 #ifndef CHROME_BROWSER_PROFILE_RESETTER_TRIGGERED_PROFILE_RESETTER_H_ |
| 6 #define CHROME_BROWSER_PROFILE_RESETTER_TRIGGERED_PROFILE_RESETTER_H_ | 6 #define CHROME_BROWSER_PROFILE_RESETTER_TRIGGERED_PROFILE_RESETTER_H_ |
| 7 | 7 |
| 8 #include <stddef.h> |
| 9 |
| 8 #include "base/macros.h" | 10 #include "base/macros.h" |
| 9 #include "base/strings/string16.h" | 11 #include "base/strings/string16.h" |
| 10 #include "components/keyed_service/core/keyed_service.h" | 12 #include "components/keyed_service/core/keyed_service.h" |
| 11 | 13 |
| 12 class Profile; | 14 class Profile; |
| 13 | 15 |
| 14 // This service is responsible for evaluating whether a profile reset trigger | 16 // This service is responsible for evaluating whether a profile reset trigger |
| 15 // has been set and not yet consumed by |profile_|. If it has, the profile is | 17 // has been set and not yet consumed by |profile_|. If it has, the profile is |
| 16 // eligible for reset and a profile reset UI will be shown to the user. The | 18 // eligible for reset and a profile reset UI will be shown to the user. The |
| 17 // intended use case for this is to provide a sanctioned profile reset API for | 19 // intended use case for this is to provide a sanctioned profile reset API for |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 | 78 |
| 77 DISALLOW_COPY_AND_ASSIGN(TriggeredProfileResetter); | 79 DISALLOW_COPY_AND_ASSIGN(TriggeredProfileResetter); |
| 78 }; | 80 }; |
| 79 | 81 |
| 80 // Exposed for testing. | 82 // Exposed for testing. |
| 81 extern const wchar_t kTriggeredResetRegistryPath[]; | 83 extern const wchar_t kTriggeredResetRegistryPath[]; |
| 82 extern const wchar_t kTriggeredResetToolName[]; | 84 extern const wchar_t kTriggeredResetToolName[]; |
| 83 extern const wchar_t kTriggeredResetTimestamp[]; | 85 extern const wchar_t kTriggeredResetTimestamp[]; |
| 84 | 86 |
| 85 #endif // CHROME_BROWSER_PROFILE_RESETTER_TRIGGERED_PROFILE_RESETTER_H_ | 87 #endif // CHROME_BROWSER_PROFILE_RESETTER_TRIGGERED_PROFILE_RESETTER_H_ |
| OLD | NEW |