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

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: Addressed review comments. 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
« no previous file with comments | « chrome/browser/prefs/session_startup_pref.h ('k') | chrome/browser/protector/histograms.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..fa1a4596245c025ef991180902c37fe3ab72a808 100644
--- a/chrome/browser/protector/base_setting_change.h
+++ b/chrome/browser/protector/base_setting_change.h
@@ -15,6 +15,7 @@
class Browser;
class Profile;
class TemplateURL;
+struct SessionStartupPref;
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_
« no previous file with comments | « chrome/browser/prefs/session_startup_pref.h ('k') | chrome/browser/protector/histograms.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698