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

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

Issue 8291005: HQP Refactoring (in Preparation for SQLite Cache) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Rattle those Bots Senseless Created 9 years, 2 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_PROVIDER_H_ 5 #ifndef CHROME_BROWSER_AUTOCOMPLETE_HISTORY_PROVIDER_H_
6 #define CHROME_BROWSER_AUTOCOMPLETE_HISTORY_PROVIDER_H_ 6 #define CHROME_BROWSER_AUTOCOMPLETE_HISTORY_PROVIDER_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "chrome/browser/autocomplete/autocomplete.h" 10 #include "chrome/browser/autocomplete/autocomplete.h"
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 // NOTE: For a view-source: URL, this will trim from after "view-source:" and 47 // NOTE: For a view-source: URL, this will trim from after "view-source:" and
48 // return 0. 48 // return 0.
49 static size_t TrimHttpPrefix(string16* url); 49 static size_t TrimHttpPrefix(string16* url);
50 50
51 // Returns true if inline autocompletion should be prevented. Use this instead 51 // Returns true if inline autocompletion should be prevented. Use this instead
52 // of |input.prevent_inline_autocomplete| if the input is passed through 52 // of |input.prevent_inline_autocomplete| if the input is passed through
53 // FixupUserInput(). This method returns true if 53 // FixupUserInput(). This method returns true if
54 // |input.prevent_inline_autocomplete()| is true, or the input text contains 54 // |input.prevent_inline_autocomplete()| is true, or the input text contains
55 // trailing whitespace. 55 // trailing whitespace.
56 bool PreventInlineAutocomplete(const AutocompleteInput& input); 56 bool PreventInlineAutocomplete(const AutocompleteInput& input);
57
58 // Finds and removes the match from the current collection of matches and
59 // backing data.
60 void DeleteMatchFromMatches(const AutocompleteMatch& match);
57 }; 61 };
58 62
59 #endif // CHROME_BROWSER_AUTOCOMPLETE_HISTORY_PROVIDER_H_ 63 #endif // CHROME_BROWSER_AUTOCOMPLETE_HISTORY_PROVIDER_H_
OLDNEW
« no previous file with comments | « chrome/browser/autocomplete/autocomplete.cc ('k') | chrome/browser/autocomplete/history_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698