blob: a749006d841bd21263d612d48542f5ced406381a [file] [log] [blame]
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_SEARCH_ENGINES_DEFAULT_SEARCH_PREF_MIGRATION_H_
#define CHROME_BROWSER_SEARCH_ENGINES_DEFAULT_SEARCH_PREF_MIGRATION_H_
class PrefService;
// Migrates a DSE value stored in separate String/List/..Value preferences by
// M35 or earlier to the new single DictionaryValue used in M36.
// Operates immediately if |pref_service| is fully initialized. Otherwise, waits
// for the PrefService to load using an observer.
void ConfigureDefaultSearchPrefMigrationToDictionaryValue(
PrefService* pref_service);
#endif // CHROME_BROWSER_SEARCH_ENGINES_DEFAULT_SEARCH_PREF_MIGRATION_H_