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

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

Issue 10703127: Merge 145197 - clean-up: Use an id instead of memory pointer string in webui. (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1180/src/
Patch Set: Created 8 years, 5 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_handler2.h
===================================================================
--- chrome/browser/ui/webui/options2/cookies_view_handler2.h (revision 145933)
+++ chrome/browser/ui/webui/options2/cookies_view_handler2.h (working copy)
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -11,6 +11,8 @@
#include "chrome/browser/cookies_tree_model.h"
#include "chrome/browser/ui/webui/options2/options_ui2.h"
+class CookiesTreeModelUtil;
+
namespace options2 {
class CookiesViewHandler : public OptionsPageUIHandler,
@@ -57,7 +59,7 @@
// Get children nodes data and pass it to 'CookiesView.loadChildren' to
// update the WebUI.
- void SendChildren(CookieTreeNode* parent);
+ void SendChildren(const CookieTreeNode* parent);
// The Cookies Tree model
scoped_ptr<CookiesTreeModel> cookies_tree_model_;
@@ -65,6 +67,8 @@
// Flag to indicate whether there is a batch update in progress.
bool batch_update_;
+ scoped_ptr<CookiesTreeModelUtil> model_util_;
+
DISALLOW_COPY_AND_ASSIGN(CookiesViewHandler);
};

Powered by Google App Engine
This is Rietveld 408576698