OLD | NEW |
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_PROTECTOR_BASE_SETTING_CHANGE_H_ | 5 #ifndef CHROME_BROWSER_PROTECTOR_BASE_SETTING_CHANGE_H_ |
6 #define CHROME_BROWSER_PROTECTOR_BASE_SETTING_CHANGE_H_ | 6 #define CHROME_BROWSER_PROTECTOR_BASE_SETTING_CHANGE_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 // called for the returned instance. | 86 // called for the returned instance. |
87 BaseSettingChange* CreateDefaultSearchProviderChange(const TemplateURL* actual, | 87 BaseSettingChange* CreateDefaultSearchProviderChange(const TemplateURL* actual, |
88 TemplateURL* backup); | 88 TemplateURL* backup); |
89 | 89 |
90 // Allocates and initializes BaseSettingChange implementation for session | 90 // Allocates and initializes BaseSettingChange implementation for session |
91 // startup setting. Reports corresponding histograms. | 91 // startup setting. Reports corresponding histograms. |
92 BaseSettingChange* CreateSessionStartupChange( | 92 BaseSettingChange* CreateSessionStartupChange( |
93 const SessionStartupPref& actual, | 93 const SessionStartupPref& actual, |
94 const SessionStartupPref& backup); | 94 const SessionStartupPref& backup); |
95 | 95 |
| 96 // Allocates and initializes BaseSettingChange implementation for an unknown |
| 97 // preferences change with invalid backup. |
| 98 BaseSettingChange* CreatePrefsBackupInvalidChange(); |
| 99 |
96 } // namespace protector | 100 } // namespace protector |
97 | 101 |
98 #endif // CHROME_BROWSER_PROTECTOR_BASE_SETTING_CHANGE_H_ | 102 #endif // CHROME_BROWSER_PROTECTOR_BASE_SETTING_CHANGE_H_ |
OLD | NEW |