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

Unified Diff: chrome/browser/extensions/extension_settings_storage.h

Issue 7747043: WORK IN PROGRESS. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Small change Created 9 years, 4 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/extensions/extension_settings_storage.h
diff --git a/chrome/browser/extensions/extension_settings_storage.h b/chrome/browser/extensions/extension_settings_storage.h
index b1542c430b6d024d17cba0b6cffc4c30776e5214..99f9ceb191ad3ed879ccb24ac92af45645c45298 100644
--- a/chrome/browser/extensions/extension_settings_storage.h
+++ b/chrome/browser/extensions/extension_settings_storage.h
@@ -30,6 +30,14 @@ class ExtensionSettingsStorage {
virtual void OnFailure(const std::string& message) = 0;
};
+ // Callback which does nothing.
+ class NoopCallback : public Callback {
+ public:
+ virtual ~NoopCallback() {}
+ virtual void OnSuccess(DictionaryValue* s) OVERRIDE { delete s; }
+ virtual void OnFailure(const std::string& message) OVERRIDE {}
+ };
+
// The different types of extension settings storage.
enum Type {
NONE,

Powered by Google App Engine
This is Rietveld 408576698