Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(149)

Side by Side Diff: chrome/browser/sync/test/integration/extension_settings_helper.h

Issue 10689154: Remove #pragma once from chrome/browser/sync (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_SYNC_TEST_INTEGRATION_EXTENSION_SETTINGS_HELPER_H_ 5 #ifndef CHROME_BROWSER_SYNC_TEST_INTEGRATION_EXTENSION_SETTINGS_HELPER_H_
6 #define CHROME_BROWSER_SYNC_TEST_INTEGRATION_EXTENSION_SETTINGS_HELPER_H_ 6 #define CHROME_BROWSER_SYNC_TEST_INTEGRATION_EXTENSION_SETTINGS_HELPER_H_
7 #pragma once
8 7
9 #include <string> 8 #include <string>
10 9
11 class Profile; 10 class Profile;
12 namespace base { 11 namespace base {
13 class DictionaryValue; 12 class DictionaryValue;
14 } 13 }
15 14
16 namespace extension_settings_helper { 15 namespace extension_settings_helper {
17 16
18 // Calls Set() with |settings| for |profile| and the extension with ID |id|. 17 // Calls Set() with |settings| for |profile| and the extension with ID |id|.
19 void SetExtensionSettings( 18 void SetExtensionSettings(
20 Profile* profile, 19 Profile* profile,
21 const std::string& id, 20 const std::string& id,
22 const base::DictionaryValue& settings); 21 const base::DictionaryValue& settings);
23 22
24 // Calls Set() with |settings| for all profiles the extension with ID |id|. 23 // Calls Set() with |settings| for all profiles the extension with ID |id|.
25 void SetExtensionSettingsForAllProfiles( 24 void SetExtensionSettingsForAllProfiles(
26 const std::string& id, const base::DictionaryValue& settings); 25 const std::string& id, const base::DictionaryValue& settings);
27 26
28 // Returns whether the extension settings are the same across all profiles. 27 // Returns whether the extension settings are the same across all profiles.
29 bool AllExtensionSettingsSameAsVerifier(); 28 bool AllExtensionSettingsSameAsVerifier();
30 29
31 } // namespace extension_settings_helper 30 } // namespace extension_settings_helper
32 31
33 #endif // CHROME_BROWSER_SYNC_TEST_INTEGRATION_EXTENSION_SETTINGS_HELPER_H_ 32 #endif // CHROME_BROWSER_SYNC_TEST_INTEGRATION_EXTENSION_SETTINGS_HELPER_H_
OLDNEW
« no previous file with comments | « chrome/browser/sync/test/integration/bookmarks_helper.h ('k') | chrome/browser/sync/test/integration/extensions_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698