BookmarkManager: Fix 'new folder text field size changes on clicking it' issue.
[chromium-blink-merge.git] / chrome / browser / sync / test / integration / extension_settings_helper.h
blobc00a9a063cb80def5c3f95251557712a5b19a8cb
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_
8 #include <string>
10 class Profile;
11 namespace base {
12 class DictionaryValue;
15 namespace extension_settings_helper {
17 // Calls Set() with |settings| for |profile| and the extension with ID |id|.
18 void SetExtensionSettings(
19 Profile* profile,
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_