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

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

Issue 371283002: Componentize HistoryMatch (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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
« no previous file with comments | « chrome/browser/autocomplete/history_provider_util.cc ('k') | chrome/browser/history/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_HISTORY_URL_PROVIDER_H_ 5 #ifndef CHROME_BROWSER_AUTOCOMPLETE_HISTORY_URL_PROVIDER_H_
6 #define CHROME_BROWSER_AUTOCOMPLETE_HISTORY_URL_PROVIDER_H_ 6 #define CHROME_BROWSER_AUTOCOMPLETE_HISTORY_URL_PROVIDER_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
12 #include "base/synchronization/cancellation_flag.h" 12 #include "base/synchronization/cancellation_flag.h"
13 #include "chrome/browser/autocomplete/history_provider.h" 13 #include "chrome/browser/autocomplete/history_provider.h"
14 #include "chrome/browser/autocomplete/history_provider_util.h"
15 #include "chrome/browser/omnibox/omnibox_field_trial.h" 14 #include "chrome/browser/omnibox/omnibox_field_trial.h"
16 #include "components/autocomplete/autocomplete_input.h" 15 #include "components/autocomplete/autocomplete_input.h"
16 #include "components/history/core/browser/history_match.h"
17 #include "components/search_engines/template_url.h" 17 #include "components/search_engines/template_url.h"
18 18
19 class Profile; 19 class Profile;
20 class SearchTermsData; 20 class SearchTermsData;
21 21
22 namespace base { 22 namespace base {
23 class MessageLoop; 23 class MessageLoop;
24 } 24 }
25 25
26 namespace history { 26 namespace history {
(...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after
341 // Used in PromoteOrCreateShorterSuggestion(). If true, we may create 341 // Used in PromoteOrCreateShorterSuggestion(). If true, we may create
342 // shorter suggestions even when they haven't been visited before: 342 // shorter suggestions even when they haven't been visited before:
343 // if the user visited http://example.com/asdf once, we'll suggest 343 // if the user visited http://example.com/asdf once, we'll suggest
344 // http://example.com/ even if they've never been to it. 344 // http://example.com/ even if they've never been to it.
345 bool create_shorter_match_; 345 bool create_shorter_match_;
346 346
347 DISALLOW_COPY_AND_ASSIGN(HistoryURLProvider); 347 DISALLOW_COPY_AND_ASSIGN(HistoryURLProvider);
348 }; 348 };
349 349
350 #endif // CHROME_BROWSER_AUTOCOMPLETE_HISTORY_URL_PROVIDER_H_ 350 #endif // CHROME_BROWSER_AUTOCOMPLETE_HISTORY_URL_PROVIDER_H_
OLDNEW
« no previous file with comments | « chrome/browser/autocomplete/history_provider_util.cc ('k') | chrome/browser/history/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698