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

Side by Side Diff: chrome/browser/autocomplete/autocomplete_controller.h

Issue 10699032: autocomplete: Extract AutocompleteResult from autocomplete.*. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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_AUTOCOMPLETE_AUTOCOMPLETE_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_CONTROLLER_H_
6 #define CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_CONTROLLER_H_ 6 #define CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_CONTROLLER_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
11 #include "base/gtest_prod_util.h" 11 #include "base/gtest_prod_util.h"
12 #include "base/string16.h" 12 #include "base/string16.h"
13 #include "base/timer.h" 13 #include "base/timer.h"
14 #include "chrome/browser/autocomplete/autocomplete.h" 14 #include "chrome/browser/autocomplete/autocomplete.h"
15 #include "chrome/browser/autocomplete/autocomplete_provider_listener.h" 15 #include "chrome/browser/autocomplete/autocomplete_provider_listener.h"
16 #include "chrome/browser/autocomplete/autocomplete_result.h"
16 #include "chrome/browser/autocomplete/autocomplete_types.h" 17 #include "chrome/browser/autocomplete/autocomplete_types.h"
17 18
18 class AutocompleteControllerDelegate; 19 class AutocompleteControllerDelegate;
19 class KeywordProvider; 20 class KeywordProvider;
20 class Profile; 21 class Profile;
21 class SearchProvider; 22 class SearchProvider;
22 23
23 // The coordinator for autocomplete queries, responsible for combining the 24 // The coordinator for autocomplete queries, responsible for combining the
24 // matches from a series of providers into one AutocompleteResult. 25 // matches from a series of providers into one AutocompleteResult.
25 class AutocompleteController : public AutocompleteProviderListener { 26 class AutocompleteController : public AutocompleteProviderListener {
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 // Are we in Start()? This is used to avoid updating |result_| and sending 187 // Are we in Start()? This is used to avoid updating |result_| and sending
187 // notifications until Start() has been invoked on all providers. 188 // notifications until Start() has been invoked on all providers.
188 bool in_start_; 189 bool in_start_;
189 190
190 Profile* profile_; 191 Profile* profile_;
191 192
192 DISALLOW_COPY_AND_ASSIGN(AutocompleteController); 193 DISALLOW_COPY_AND_ASSIGN(AutocompleteController);
193 }; 194 };
194 195
195 #endif // CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_CONTROLLER_H_ 196 #endif // CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698