Index: chrome/browser/ui/webui/extensions/pack_extension_handler.h |
diff --git a/chrome/browser/ui/webui/options/pack_extension_handler.h b/chrome/browser/ui/webui/extensions/pack_extension_handler.h |
similarity index 76% |
rename from chrome/browser/ui/webui/options/pack_extension_handler.h |
rename to chrome/browser/ui/webui/extensions/pack_extension_handler.h |
index 0f23beeb5a5df071b89b057167ccdc375bd7867c..47d618a593de8037b32d8ddc28c63dd7e3133bee 100644 |
--- a/chrome/browser/ui/webui/options/pack_extension_handler.h |
+++ b/chrome/browser/ui/webui/extensions/pack_extension_handler.h |
@@ -2,8 +2,8 @@ |
// 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_PACK_EXTENSION_HANDLER_H_ |
-#define CHROME_BROWSER_UI_WEBUI_OPTIONS_PACK_EXTENSION_HANDLER_H_ |
+#ifndef CHROME_BROWSER_UI_WEBUI_EXTENSIONS_PACK_EXTENSION_HANDLER_H_ |
+#define CHROME_BROWSER_UI_WEBUI_EXTENSIONS_PACK_EXTENSION_HANDLER_H_ |
#pragma once |
#include <string> |
@@ -11,17 +11,16 @@ |
#include "chrome/browser/browsing_data_remover.h" |
#include "chrome/browser/extensions/pack_extension_job.h" |
#include "chrome/browser/plugin_data_remover_helper.h" |
-#include "chrome/browser/ui/webui/options/options_ui.h" |
+#include "content/public/browser/web_ui_message_handler.h" |
// Clear browser data handler page UI handler. |
-class PackExtensionHandler : public OptionsPageUIHandler, |
+class PackExtensionHandler : public content::WebUIMessageHandler, |
public PackExtensionJob::Client { |
public: |
PackExtensionHandler(); |
virtual ~PackExtensionHandler(); |
- // OptionsPageUIHandler implementation. |
- virtual void GetLocalizedValues(DictionaryValue* localized_strings) OVERRIDE; |
+ void GetLocalizedValues(DictionaryValue* localized_strings); |
// WebUIMessageHandler implementation. |
virtual void RegisterMessages() OVERRIDE; |
@@ -52,4 +51,4 @@ class PackExtensionHandler : public OptionsPageUIHandler, |
DISALLOW_COPY_AND_ASSIGN(PackExtensionHandler); |
}; |
-#endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_PACK_EXTENSION_HANDLER_H_ |
+#endif // CHROME_BROWSER_UI_WEBUI_EXTENSIONS_PACK_EXTENSION_HANDLER_H_ |