summaryrefslogtreecommitdiffstats
path: root/chrome/browser/protector/protected_prefs_watcher.h
diff options
context:
space:
mode:
authorivankr@chromium.org <ivankr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-28 18:08:08 +0000
committerivankr@chromium.org <ivankr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-28 18:08:08 +0000
commit35a6fd1817d0c50fa40545c45711623627133954 (patch)
tree4f93dab72015393442f24035ef49eab522feee43 /chrome/browser/protector/protected_prefs_watcher.h
parentb07ad6c679a2a9adee38fa6225ac33f94a1c266b (diff)
downloadchromium_src-35a6fd1817d0c50fa40545c45711623627133954.zip
chromium_src-35a6fd1817d0c50fa40545c45711623627133954.tar.gz
chromium_src-35a6fd1817d0c50fa40545c45711623627133954.tar.bz2
[protector] Specific handling of default values of protected prefs.
BUG=124194 TEST=ProtectedPrefsWatcherTest.* Review URL: https://chromiumcodereview.appspot.com/10399125 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139252 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/protector/protected_prefs_watcher.h')
-rw-r--r--chrome/browser/protector/protected_prefs_watcher.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/protector/protected_prefs_watcher.h b/chrome/browser/protector/protected_prefs_watcher.h
index 979ca44..46cf5ca 100644
--- a/chrome/browser/protector/protected_prefs_watcher.h
+++ b/chrome/browser/protector/protected_prefs_watcher.h
@@ -75,9 +75,9 @@ class ProtectedPrefsWatcher : public content::NotificationObserver {
// Migrates backup if it is an older version.
void MigrateOldBackupIfNeeded();
- // Updates the backup утекн for |pref_name| and кeturns |true| if the
- // backup has changed.
- bool UpdateBackupEntry(const std::string& pref_name);
+ // Updates the backup entry for |path| and returns |true| if the backup has
+ // changed.
+ bool UpdateBackupEntry(const std::string& path);
// Perform a check that backup is valid and settings have not been modified.
void ValidateBackup();