Only grant permissions to new extensions from sync if they have the expected version
[chromium-blink-merge.git] / components / search_engines / default_search_pref_migration.h
blobb2fd0c443fc18d740f4a7379319db155d078dda1
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.
5 #ifndef COMPONENTS_SEARCH_ENGINES_DEFAULT_SEARCH_PREF_MIGRATION_H_
6 #define COMPONENTS_SEARCH_ENGINES_DEFAULT_SEARCH_PREF_MIGRATION_H_
8 class PrefService;
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.
14 void ConfigureDefaultSearchPrefMigrationToDictionaryValue(
15 PrefService* pref_service);
17 #endif // COMPONENTS_SEARCH_ENGINES_DEFAULT_SEARCH_PREF_MIGRATION_H_