Index: chrome/browser/ui/webui/suggestions_internals/suggestions_internals_ui_handler.h |
diff --git a/chrome/browser/ui/webui/suggestions_internals/suggestions_internals_ui_handler.h b/chrome/browser/ui/webui/suggestions_internals/suggestions_internals_ui_handler.h |
deleted file mode 100644 |
index f20b32fdd2f752415cf472f7e94a6227fef268c0..0000000000000000000000000000000000000000 |
--- a/chrome/browser/ui/webui/suggestions_internals/suggestions_internals_ui_handler.h |
+++ /dev/null |
@@ -1,43 +0,0 @@ |
-// 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. |
- |
-#ifndef CHROME_BROWSER_UI_WEBUI_SUGGESTIONS_INTERNALS_SUGGESTIONS_INTERNALS_UI_HANDLER_H_ |
-#define CHROME_BROWSER_UI_WEBUI_SUGGESTIONS_INTERNALS_SUGGESTIONS_INTERNALS_UI_HANDLER_H_ |
- |
-#include "base/memory/scoped_ptr.h" |
-#include "chrome/browser/ui/webui/ntp/suggestions_combiner.h" |
-#include "content/public/browser/web_ui_message_handler.h" |
- |
-class Profile; |
- |
-namespace base { |
-class ListValue; |
-} |
- |
-// UI Handler for chrome://suggestions-internals/ |
-class SuggestionsInternalsUIHandler : public content::WebUIMessageHandler, |
- public SuggestionsCombiner::Delegate { |
- public: |
- explicit SuggestionsInternalsUIHandler(Profile* profile); |
- ~SuggestionsInternalsUIHandler() override; |
- |
- // SuggestionsCombiner::Delegate implementation. |
- void OnSuggestionsReady() override; |
- |
- protected: |
- // WebUIMessageHandler implementation. |
- // Register our handler to get callbacks from javascript. |
- void RegisterMessages() override; |
- |
- void HandleGetSuggestions(const base::ListValue* one_element_input_string); |
- |
- // Used to combine suggestions from various sources. |
- scoped_ptr<SuggestionsCombiner> suggestions_combiner_; |
- |
- Profile* profile_; |
- |
- DISALLOW_COPY_AND_ASSIGN(SuggestionsInternalsUIHandler); |
-}; |
- |
-#endif // CHROME_BROWSER_UI_WEBUI_SUGGESTIONS_INTERNALS_SUGGESTIONS_INTERNALS_UI_HANDLER_H_ |