1// Copyright 2014 The Chromium Authors. All rights reserved. 2// Use of this source code is governed by a BSD-style license that can be 3// found in the LICENSE file. 4 5#ifndef CHROME_BROWSER_SEARCH_ENGINES_DEFAULT_SEARCH_PREF_MIGRATION_H_ 6#define CHROME_BROWSER_SEARCH_ENGINES_DEFAULT_SEARCH_PREF_MIGRATION_H_ 7 8class PrefService; 9 10// Migrates a DSE value stored in separate String/List/..Value preferences by 11// M35 or earlier to the new single DictionaryValue used in M36. 12// Operates immediately if |pref_service| is fully initialized. Otherwise, waits 13// for the PrefService to load using an observer. 14void ConfigureDefaultSearchPrefMigrationToDictionaryValue( 15 PrefService* pref_service); 16 17#endif // CHROME_BROWSER_SEARCH_ENGINES_DEFAULT_SEARCH_PREF_MIGRATION_H_ 18