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); |
}; |