Add DevTools save dialog support (issue #1614)

This commit is contained in:
Marshall Greenblatt
2019-02-12 15:31:52 -05:00
parent 0e461b7f5c
commit 4c730e8935
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.