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

Unified Diff: chrome/browser/resources/options/import_data_overlay.js

Issue 10827141: Move handling of dialog preferences to Preferences class (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed PrefCheckbox. Created 8 years, 3 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/resources/options/import_data_overlay.js
diff --git a/chrome/browser/resources/options/import_data_overlay.js b/chrome/browser/resources/options/import_data_overlay.js
index 1a38402cac65273b3e5e1afaf07e83886b5866ea..b943e0bfdbd403542225e09a49040a8713dfbf30 100644
--- a/chrome/browser/resources/options/import_data_overlay.js
+++ b/chrome/browser/resources/options/import_data_overlay.js
@@ -164,7 +164,7 @@ cr.define('options', function() {
'import_saved_passwords',
'import_search_engine'];
for (var i = 0; i < importPrefs.length; i++)
- Preferences.clearPref(importPrefs[i], undefined);
+ Preferences.clearPref(importPrefs[i], true);
},
/**
« no previous file with comments | « chrome/browser/resources/options/font_settings.js ('k') | chrome/browser/resources/options/language_list.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698