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

Unified Diff: chrome/browser/ui/webui/suggestions_internals/suggestions_internals_ui_handler.h

Issue 1141843004: NTP Zombie Code Slayer II: Suggestions Page (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: and remove urls Created 5 years, 7 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 side-by-side diff with in-line comments
Download patch
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_

Powered by Google App Engine
This is Rietveld 408576698