| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS2_COOKIES_VIEW_HANDLER2_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS2_COOKIES_VIEW_HANDLER_H_ |
| 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS2_COOKIES_VIEW_HANDLER2_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS2_COOKIES_VIEW_HANDLER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| 11 #include "chrome/browser/cookies_tree_model.h" | 11 #include "chrome/browser/cookies_tree_model.h" |
| 12 #include "chrome/browser/ui/webui/options2/options_ui2.h" | 12 #include "chrome/browser/ui/webui/options2/options_ui.h" |
| 13 | 13 |
| 14 class CookiesTreeModelUtil; | 14 class CookiesTreeModelUtil; |
| 15 | 15 |
| 16 namespace options2 { | 16 namespace options2 { |
| 17 | 17 |
| 18 class CookiesViewHandler : public OptionsPageUIHandler, | 18 class CookiesViewHandler : public OptionsPageUIHandler, |
| 19 public CookiesTreeModel::Observer { | 19 public CookiesTreeModel::Observer { |
| 20 public: | 20 public: |
| 21 CookiesViewHandler(); | 21 CookiesViewHandler(); |
| 22 virtual ~CookiesViewHandler(); | 22 virtual ~CookiesViewHandler(); |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 // Flag to indicate whether there is a batch update in progress. | 67 // Flag to indicate whether there is a batch update in progress. |
| 68 bool batch_update_; | 68 bool batch_update_; |
| 69 | 69 |
| 70 scoped_ptr<CookiesTreeModelUtil> model_util_; | 70 scoped_ptr<CookiesTreeModelUtil> model_util_; |
| 71 | 71 |
| 72 DISALLOW_COPY_AND_ASSIGN(CookiesViewHandler); | 72 DISALLOW_COPY_AND_ASSIGN(CookiesViewHandler); |
| 73 }; | 73 }; |
| 74 | 74 |
| 75 } // namespace options2 | 75 } // namespace options2 |
| 76 | 76 |
| 77 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS2_COOKIES_VIEW_HANDLER2_H_ | 77 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS2_COOKIES_VIEW_HANDLER_H_ |
| OLD | NEW |