| Index: chrome/browser/ui/webui/settings/settings_cookies_view_handler.h
|
| diff --git a/chrome/browser/ui/webui/options/cookies_view_handler.h b/chrome/browser/ui/webui/settings/settings_cookies_view_handler.h
|
| similarity index 78%
|
| copy from chrome/browser/ui/webui/options/cookies_view_handler.h
|
| copy to chrome/browser/ui/webui/settings/settings_cookies_view_handler.h
|
| index 4e440ae49c1febf55bd551bf9eaab5d22bb43726..0f1faa707d8e369a051460b11d0a6604a8b5c785 100644
|
| --- a/chrome/browser/ui/webui/options/cookies_view_handler.h
|
| +++ b/chrome/browser/ui/webui/settings/settings_cookies_view_handler.h
|
| @@ -1,32 +1,33 @@
|
| -// Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
| +// Copyright 2016 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.
|
|
|
| -#ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_COOKIES_VIEW_HANDLER_H_
|
| -#define CHROME_BROWSER_UI_WEBUI_OPTIONS_COOKIES_VIEW_HANDLER_H_
|
| +#ifndef CHROME_BROWSER_UI_WEBUI_SETTINGS_SETTINGS_COOKIES_VIEW_HANDLER_H_
|
| +#define CHROME_BROWSER_UI_WEBUI_SETTINGS_SETTINGS_COOKIES_VIEW_HANDLER_H_
|
|
|
| #include <memory>
|
|
|
| #include "base/compiler_specific.h"
|
| #include "base/macros.h"
|
| #include "chrome/browser/browsing_data/cookies_tree_model.h"
|
| -#include "chrome/browser/ui/webui/options/options_ui.h"
|
| +#include "chrome/browser/ui/webui/settings/settings_page_ui_handler.h"
|
|
|
| class CookiesTreeModelUtil;
|
|
|
| -namespace options {
|
| +namespace settings {
|
|
|
| -class CookiesViewHandler : public OptionsPageUIHandler,
|
| +class CookiesViewHandler : public SettingsPageUIHandler,
|
| public CookiesTreeModel::Observer {
|
| public:
|
| CookiesViewHandler();
|
| ~CookiesViewHandler() override;
|
|
|
| - // OptionsPageUIHandler implementation.
|
| - void GetLocalizedValues(base::DictionaryValue* localized_strings) override;
|
| + // SettingsPageUIHandler:
|
| + void OnJavascriptAllowed() override;
|
| + void OnJavascriptDisallowed() override;
|
| void RegisterMessages() override;
|
|
|
| - // CookiesTreeModel::Observer implementation.
|
| + // CookiesTreeModel::Observer:
|
| void TreeNodesAdded(ui::TreeModel* model,
|
| ui::TreeModelNode* parent,
|
| int start,
|
| @@ -76,6 +77,6 @@ class CookiesViewHandler : public OptionsPageUIHandler,
|
| DISALLOW_COPY_AND_ASSIGN(CookiesViewHandler);
|
| };
|
|
|
| -} // namespace options
|
| +} // namespace settings
|
|
|
| -#endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_COOKIES_VIEW_HANDLER_H_
|
| +#endif // CHROME_BROWSER_UI_WEBUI_SETTINGS_SETTINGS_COOKIES_VIEW_HANDLER_H_
|
|
|