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

Unified Diff: chrome/browser/ui/webui/options2/cookies_view_handler.h

Issue 10830221: Ensure that cookies dialog is populated with new cookies on reload (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix typo Created 8 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/ui/webui/options2/cookies_view_handler.h
diff --git a/chrome/browser/ui/webui/options2/cookies_view_handler.h b/chrome/browser/ui/webui/options2/cookies_view_handler.h
index 6665099df0221d454f859170186dd0b06af2b99f..479856f6f1042097a12f4038d5d258ab01e53dd4 100644
--- a/chrome/browser/ui/webui/options2/cookies_view_handler.h
+++ b/chrome/browser/ui/webui/options2/cookies_view_handler.h
@@ -64,6 +64,10 @@ class CookiesViewHandler : public OptionsPageUIHandler,
// the apps cookies window.
void SetViewContext(const base::ListValue* args);
+ // Reloads the CookiesTreeModel and passes the nodes to
+ // 'CookiesView.loadChildren' to update the WebUI.
+ void ReloadCookies(const base::ListValue* args);
+
// Return the proper callback string, depending on whether the model is
// in regular cookies mode or apps cookies mode.
std::string GetCallback(std::string method, CookiesTreeModel* model);

Powered by Google App Engine
This is Rietveld 408576698