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

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

Issue 8597009: Fix Clang error on SettingChange. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 9 years, 1 month 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 | « no previous file | chrome/browser/protector/setting_change.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/protector/setting_change.h
diff --git a/chrome/browser/protector/setting_change.h b/chrome/browser/protector/setting_change.h
index 63e4261d81d252d0c1d2f931f79c5fe68081bdc8..6f6f6dc04e86a2f9b14e8d45b2d372a871d4ea75 100644
--- a/chrome/browser/protector/setting_change.h
+++ b/chrome/browser/protector/setting_change.h
@@ -21,19 +21,19 @@ class Protector;
// Base class for setting change tracked by Protector.
class SettingChange {
public:
- SettingChange() {}
- virtual ~SettingChange() {}
+ SettingChange();
+ virtual ~SettingChange();
// Applies initial actions to the setting if needed. Must be called before
// any other calls are made, including text getters. Returns true if
// initialization was successful.
- virtual bool Init(Protector* protector) { return true; }
+ virtual bool Init(Protector* protector);
// Persists new setting if needed.
- virtual void Apply(Protector* protector) {}
+ virtual void Apply(Protector* protector);
// Restores old setting if needed.
- virtual void Discard(Protector* protector) {}
+ virtual void Discard(Protector* protector);
// Returns the wrench menu item and bubble title.
virtual string16 GetTitle() const = 0;
« no previous file with comments | « no previous file | chrome/browser/protector/setting_change.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698