| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_SUGGESTIONS_INTERNALS_SUGGESTIONS_INTERNALS_UI_H
ANDLER_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_SUGGESTIONS_INTERNALS_SUGGESTIONS_INTERNALS_UI_H
ANDLER_H_ |
| 6 #define CHROME_BROWSER_UI_WEBUI_SUGGESTIONS_INTERNALS_SUGGESTIONS_INTERNALS_UI_H
ANDLER_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_SUGGESTIONS_INTERNALS_SUGGESTIONS_INTERNALS_UI_H
ANDLER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
| 10 #include "base/time.h" | 10 #include "base/time.h" |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 protected: | 26 protected: |
| 27 // WebUIMessageHandler implementation. | 27 // WebUIMessageHandler implementation. |
| 28 // Register our handler to get callbacks from javascript. | 28 // Register our handler to get callbacks from javascript. |
| 29 virtual void RegisterMessages() OVERRIDE; | 29 virtual void RegisterMessages() OVERRIDE; |
| 30 | 30 |
| 31 void HandleGetSuggestions(const base::ListValue* one_element_input_string); | 31 void HandleGetSuggestions(const base::ListValue* one_element_input_string); |
| 32 | 32 |
| 33 // Used to combine suggestions from various sources. | 33 // Used to combine suggestions from various sources. |
| 34 scoped_ptr<SuggestionsCombiner> suggestions_combiner_; | 34 scoped_ptr<SuggestionsCombiner> suggestions_combiner_; |
| 35 | 35 |
| 36 Profile* profile_; |
| 37 |
| 36 DISALLOW_COPY_AND_ASSIGN(SuggestionsInternalsUIHandler); | 38 DISALLOW_COPY_AND_ASSIGN(SuggestionsInternalsUIHandler); |
| 37 }; | 39 }; |
| 38 | 40 |
| 39 #endif // CHROME_BROWSER_UI_WEBUI_SUGGESTIONS_INTERNALS_SUGGESTIONS_INTERNALS_U
I_HANDLER_H_ | 41 #endif // CHROME_BROWSER_UI_WEBUI_SUGGESTIONS_INTERNALS_SUGGESTIONS_INTERNALS_U
I_HANDLER_H_ |
| OLD | NEW |