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

Unified Diff: chrome/browser/protector/base_setting_change.h

Issue 9688002: [protector] Added SessionStartupChange for representing changes in SessionStartupPref. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/protector/base_setting_change.h
diff --git a/chrome/browser/protector/base_setting_change.h b/chrome/browser/protector/base_setting_change.h
index 098d6f18b6e4f12b548712677bf8c3b40748ae41..610c552192f16ce30ef3bd70f079661491dc3ef7 100644
--- a/chrome/browser/protector/base_setting_change.h
+++ b/chrome/browser/protector/base_setting_change.h
@@ -14,6 +14,7 @@
class Browser;
class Profile;
+class SessionStartupPref;
class TemplateURL;
namespace protector {
@@ -87,6 +88,12 @@ BaseSettingChange* CreateDefaultSearchProviderChange(
const TemplateURL* actual,
TemplateURL* backup);
+// Allocates and initializes BaseSettingChange implementation for session
+// startup setting. Reports corresponding histograms.
+BaseSettingChange* CreateSessionStartupChange(
+ const SessionStartupPref& actual,
+ const SessionStartupPref& backup);
+
} // namespace protector
#endif // CHROME_BROWSER_PROTECTOR_BASE_SETTING_CHANGE_H_

Powered by Google App Engine
This is Rietveld 408576698