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_AUTOCOMPLETE_AUTOCOMPLETE_MATCH_H_ | 5 #ifndef CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_MATCH_H_ |
6 #define CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_MATCH_H_ | 6 #define CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_MATCH_H_ |
7 #pragma once | |
8 | 7 |
9 #include <string> | 8 #include <string> |
10 #include <vector> | 9 #include <vector> |
11 | 10 |
12 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
13 #include "chrome/browser/search_engines/template_url.h" | 12 #include "chrome/browser/search_engines/template_url.h" |
14 #include "content/public/common/page_transition_types.h" | 13 #include "content/public/common/page_transition_types.h" |
15 #include "googleurl/src/gurl.h" | 14 #include "googleurl/src/gurl.h" |
16 | 15 |
17 class AutocompleteProvider; | 16 class AutocompleteProvider; |
(...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
293 const string16& text, | 292 const string16& text, |
294 const ACMatchClassifications& classifications) const; | 293 const ACMatchClassifications& classifications) const; |
295 #endif | 294 #endif |
296 }; | 295 }; |
297 | 296 |
298 typedef AutocompleteMatch::ACMatchClassification ACMatchClassification; | 297 typedef AutocompleteMatch::ACMatchClassification ACMatchClassification; |
299 typedef std::vector<ACMatchClassification> ACMatchClassifications; | 298 typedef std::vector<ACMatchClassification> ACMatchClassifications; |
300 typedef std::vector<AutocompleteMatch> ACMatches; | 299 typedef std::vector<AutocompleteMatch> ACMatches; |
301 | 300 |
302 #endif // CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_MATCH_H_ | 301 #endif // CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_MATCH_H_ |
OLD | NEW |