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

Side by Side Diff: chrome/browser/safe_browsing/chrome_cleaner/chrome_cleaner_prefs_manager_win.h

Issue 2906103002: Post-cleanup settings reset. (Closed)
Patch Set: Created 3 years, 7 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
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_SAFE_BROWSING_CHROME_CLEANER_CHROME_CLEANER_PREFS_MANAGER _WIN_H_
6 #define CHROME_BROWSER_SAFE_BROWSING_CHROME_CLEANER_CHROME_CLEANER_PREFS_MANAGER _WIN_H_
7
8 #include "base/macros.h"
9 #include "base/time/time.h"
10
11 class Profile;
12 class PrefService;
13
14 namespace user_prefs {
15 class PrefRegistrySyncable;
16 } // namespace user_prefs
17
18 namespace safe_browsing {
19
20 // Class responsible for reading and updating the preferences related to the
21 // Chrome Cleaner.
22 class ChromeCleanerPrefsManager {
alito 2017/05/26 20:58:07 Seems like a bit of an overkill to have a class fo
ftirelo 2017/05/30 20:17:39 Done.
23 public:
24 explicit ChromeCleanerPrefsManager(Profile* profile);
25 ~ChromeCleanerPrefsManager();
26
27 static void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry);
28
29 bool SettingsResetPending() const;
30 void RecordSettingsResetPending(bool value);
31
32 const PrefService* prefs() const { return prefs_; }
33
34 private:
35 Profile* profile_;
36 PrefService* prefs_;
37
38 DISALLOW_COPY_AND_ASSIGN(ChromeCleanerPrefsManager);
39 };
40
41 } // namespace safe_browsing
42
43 #endif // CHROME_BROWSER_SAFE_BROWSING_CHROME_CLEANER_CHROME_CLEANER_PREFS_MANA GER_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698