1 // Copyright (c) 2012 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 CHROME_BROWSER_SYNC_TEST_INTEGRATION_EXTENSION_SETTINGS_HELPER_H_
6 #define CHROME_BROWSER_SYNC_TEST_INTEGRATION_EXTENSION_SETTINGS_HELPER_H_
12 class DictionaryValue
;
15 namespace extension_settings_helper
{
17 // Calls Set() with |settings| for |profile| and the extension with ID |id|.
18 void SetExtensionSettings(
20 const std::string
& id
,
21 const base::DictionaryValue
& settings
);
23 // Calls Set() with |settings| for all profiles the extension with ID |id|.
24 void SetExtensionSettingsForAllProfiles(
25 const std::string
& id
, const base::DictionaryValue
& settings
);
27 // Returns whether the extension settings are the same across all profiles.
28 bool AllExtensionSettingsSameAsVerifier();
30 } // namespace extension_settings_helper
32 #endif // CHROME_BROWSER_SYNC_TEST_INTEGRATION_EXTENSION_SETTINGS_HELPER_H_