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

Side by Side Diff: chrome/browser/ui/webui/options2/cookies_view_handler2.h

Issue 10536017: Refactoring CookiesTreeModel to support multiple data sources. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed all comments by Evan. Created 8 years, 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_HANDLER2_H_
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS2_COOKIES_VIEW_HANDLER2_H_ 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS2_COOKIES_VIEW_HANDLER2_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/local_data_container.h"
James Hawkins 2012/06/21 00:04:12 Unused?
nasko 2012/06/21 16:22:12 Done.
12 #include "chrome/browser/ui/webui/options2/options_ui2.h" 13 #include "chrome/browser/ui/webui/options2/options_ui2.h"
13 14
14 namespace options2 { 15 namespace options2 {
15 16
16 class CookiesViewHandler : public OptionsPageUIHandler, 17 class CookiesViewHandler : public OptionsPageUIHandler,
17 public CookiesTreeModel::Observer { 18 public CookiesTreeModel::Observer {
18 public: 19 public:
19 CookiesViewHandler(); 20 CookiesViewHandler();
20 virtual ~CookiesViewHandler(); 21 virtual ~CookiesViewHandler();
21 22
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 65
65 // Flag to indicate whether there is a batch update in progress. 66 // Flag to indicate whether there is a batch update in progress.
66 bool batch_update_; 67 bool batch_update_;
67 68
68 DISALLOW_COPY_AND_ASSIGN(CookiesViewHandler); 69 DISALLOW_COPY_AND_ASSIGN(CookiesViewHandler);
69 }; 70 };
70 71
71 } // namespace options2 72 } // namespace options2
72 73
73 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS2_COOKIES_VIEW_HANDLER2_H_ 74 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS2_COOKIES_VIEW_HANDLER2_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698