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

Unified Diff: chrome/common/extensions/api/settings_private.idl

Issue 1061613002: chrome.settingsPrivate: Implement onPrefsChanged event handling. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix a direct memory leak Created 5 years, 8 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/common/extensions/api/settings_private.idl
diff --git a/chrome/common/extensions/api/settings_private.idl b/chrome/common/extensions/api/settings_private.idl
index acce001ad08bb290fe7337426287c26059bdf5c1..41e3b8faf2db5b9b4229dd5b709cf67cd13eb859 100644
--- a/chrome/common/extensions/api/settings_private.idl
+++ b/chrome/common/extensions/api/settings_private.idl
@@ -56,7 +56,7 @@ namespace settingsPrivate {
interface Events {
// Fired when a set of prefs has changed.
//
- // |callback|: Callback fired with a list of prefs that changed.
- static void onPrefsChanged(GetAllPrefsCallback callback);
+ // |prefs| The prefs that changed.
+ static void onPrefsChanged(PrefObject[] prefs);
};
};
« no previous file with comments | « chrome/chrome_browser_extensions.gypi ('k') | chrome/test/data/extensions/api_test/settings_private/test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698