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

Unified Diff: chrome/browser/protector/protected_prefs_watcher.h

Issue 9748016: [protector] Added UI for invalid Preferences backup case. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix unit-test. Created 8 years, 9 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
Index: chrome/browser/protector/protected_prefs_watcher.h
diff --git a/chrome/browser/protector/protected_prefs_watcher.h b/chrome/browser/protector/protected_prefs_watcher.h
index d5463a04ad0441bbbea5e824fdffd6ff58167659..9e3ad486cdee3a60b93f31d821f3cfdd5385219e 100644
--- a/chrome/browser/protector/protected_prefs_watcher.h
+++ b/chrome/browser/protector/protected_prefs_watcher.h
@@ -39,6 +39,9 @@ class ProtectedPrefsWatcher : public content::NotificationObserver {
// instance is owned by the PrefService.
const base::Value* GetBackupForPref(const std::string& path) const;
+ // Updates the backup signature.
+ void UpdateBackupSignature();
+
// True if the backup was valid at the profile load time.
bool is_backup_valid() { return is_backup_valid_; }
@@ -69,9 +72,6 @@ class ProtectedPrefsWatcher : public content::NotificationObserver {
// backup has changed.
bool UpdateBackupEntry(const std::string& pref_name);
- // Updates the backup signature.
- void UpdateBackupSignature();
-
// Perform a check that backup is valid and settings have not been modified.
void ValidateBackup();
« no previous file with comments | « chrome/browser/protector/prefs_backup_invalid_change_unittest.cc ('k') | chrome/browser/protector/protected_prefs_watcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698