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

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

Issue 8451009: HQP Refactoring (in Preparation for SQLite Cache) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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 | « no previous file | chrome/browser/autocomplete/history_provider.cc » ('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) 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 28 matching lines...) Expand all
39 // NOTE: For a view-source: URL, this will trim from after "view-source:" and 39 // NOTE: For a view-source: URL, this will trim from after "view-source:" and
40 // return 0. 40 // return 0.
41 static size_t TrimHttpPrefix(string16* url); 41 static size_t TrimHttpPrefix(string16* url);
42 42
43 // Returns true if inline autocompletion should be prevented. Use this instead 43 // Returns true if inline autocompletion should be prevented. Use this instead
44 // of |input.prevent_inline_autocomplete| if the input is passed through 44 // of |input.prevent_inline_autocomplete| if the input is passed through
45 // FixupUserInput(). This method returns true if 45 // FixupUserInput(). This method returns true if
46 // |input.prevent_inline_autocomplete()| is true, or the input text contains 46 // |input.prevent_inline_autocomplete()| is true, or the input text contains
47 // trailing whitespace. 47 // trailing whitespace.
48 bool PreventInlineAutocomplete(const AutocompleteInput& input); 48 bool PreventInlineAutocomplete(const AutocompleteInput& input);
49
50 // Finds and removes the match from the current collection of matches and
51 // backing data.
52 void DeleteMatchFromMatches(const AutocompleteMatch& match);
49 }; 53 };
50 54
51 #endif // CHROME_BROWSER_AUTOCOMPLETE_HISTORY_PROVIDER_H_ 55 #endif // CHROME_BROWSER_AUTOCOMPLETE_HISTORY_PROVIDER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/autocomplete/history_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698