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

Unified Diff: chrome/browser/ui/webui/options2/options_ui2.h

Issue 10699032: autocomplete: Extract AutocompleteResult from autocomplete.*. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: move comments Created 8 years, 6 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/options2/options_ui2.h
diff --git a/chrome/browser/ui/webui/options2/options_ui2.h b/chrome/browser/ui/webui/options2/options_ui2.h
index f45fb8e0c3752d40729e257523ad779c35f5407f..2eaa25512e5fc438a1a6397d77dc4a752853163f 100644
--- a/chrome/browser/ui/webui/options2/options_ui2.h
+++ b/chrome/browser/ui/webui/options2/options_ui2.h
@@ -11,8 +11,6 @@
#include "base/compiler_specific.h"
#include "base/memory/scoped_ptr.h"
-#include "base/values.h"
-#include "chrome/browser/autocomplete/autocomplete.h"
#include "chrome/browser/ui/webui/chrome_url_data_manager.h"
#include "content/public/browser/notification_observer.h"
#include "content/public/browser/notification_registrar.h"
@@ -20,6 +18,13 @@
#include "content/public/browser/web_ui_controller.h"
#include "content/public/browser/web_ui_message_handler.h"
+class AutocompleteResult;
+
+namespace base {
+class DictionaryValue;
+class ListValue;
+}
+
#if defined(OS_CHROMEOS)
namespace chromeos {
namespace system {
@@ -104,11 +109,11 @@ class OptionsUI : public content::WebUIController,
explicit OptionsUI(content::WebUI* web_ui);
virtual ~OptionsUI();
- // Takes the suggestions from |autocompleteResult| and adds them to
- // |suggestions| so that they can be passed to a JavaScript function.
+ // Takes the suggestions from |result| and adds them to |suggestions| so that
+ // they can be passed to a JavaScript function.
static void ProcessAutocompleteSuggestions(
- const AutocompleteResult& autocompleteResult,
- base::ListValue * const suggestions);
+ const AutocompleteResult& result,
+ base::ListValue* const suggestions);
static base::RefCountedMemory* GetFaviconResourceBytes();
« no previous file with comments | « chrome/browser/ui/webui/options2/content_settings_handler2.h ('k') | chrome/browser/ui/webui/options2/options_ui2.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698