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

Unified Diff: chrome/browser/profile_resetter/profile_resetter.h

Issue 1490503002: MD Settings: Adding unit test for ResetSettingsHandler. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Cleanup Created 5 years 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/profile_resetter/profile_resetter.h
diff --git a/chrome/browser/profile_resetter/profile_resetter.h b/chrome/browser/profile_resetter/profile_resetter.h
index 31f92cd58ea7471d8f49cc8a3003b31bbc35b4be..e230a15beb0e4b3bbf311476729662c74085ba39 100644
--- a/chrome/browser/profile_resetter/profile_resetter.h
+++ b/chrome/browser/profile_resetter/profile_resetter.h
@@ -61,11 +61,11 @@ class ProfileResetter : public base::NonThreadSafe,
// Resets |resettable_flags| and calls |callback| on the UI thread on
// completion. |default_settings| allows the caller to specify some default
// settings. |default_settings| shouldn't be NULL.
- void Reset(ResettableFlags resettable_flags,
- scoped_ptr<BrandcodedDefaultSettings> master_settings,
- const base::Closure& callback);
+ virtual void Reset(ResettableFlags resettable_flags,
+ scoped_ptr<BrandcodedDefaultSettings> master_settings,
+ const base::Closure& callback);
- bool IsActive() const;
+ virtual bool IsActive() const;
battre 2015/12/01 09:55:19 Why do you make these virtual? I don't see them mo
engedy 2015/12/01 10:22:25 They seem to be overridden by the mock in the unit
private:
// Marks |resettable| as done and triggers |callback_| if all pending jobs

Powered by Google App Engine
This is Rietveld 408576698