Add DevTools save dialog support (issue #1614)

This commit is contained in:
Marshall Greenblatt
2019-02-12 15:31:52 -05:00
parent 6ff4ecd838
commit 88e5b66c72
6 changed files with 306 additions and 0 deletions

View File

@@ -192,6 +192,7 @@ std::unique_ptr<PrefService> CreatePrefService(Profile* profile,
// DevTools preferences.
// Based on DevToolsWindow::RegisterProfilePrefs.
registry->RegisterDictionaryPref(prefs::kDevToolsPreferences);
registry->RegisterDictionaryPref(prefs::kDevToolsEditedFiles);
if (command_line->HasSwitch(switches::kEnablePreferenceTesting)) {
// Preferences used with unit tests.