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

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

Issue 10700155: Remove #pragma once from chrome/browser/{printing,safe_browsing,prefs,bookmarks,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_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
8 7
9 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
10 #include "chrome/browser/autocomplete/autocomplete_provider.h" 9 #include "chrome/browser/autocomplete/autocomplete_provider.h"
11 10
12 class AutocompleteInput; 11 class AutocompleteInput;
13 struct AutocompleteMatch; 12 struct AutocompleteMatch;
14 13
15 // This class is a base class for the history autocomplete providers and 14 // This class is a base class for the history autocomplete providers and
16 // provides functions useful to all derived classes. 15 // provides functions useful to all derived classes.
17 class HistoryProvider : public AutocompleteProvider { 16 class HistoryProvider : public AutocompleteProvider {
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 // FixupUserInput(). This method returns true if 48 // FixupUserInput(). This method returns true if
50 // |input.prevent_inline_autocomplete()| is true, or the input text contains 49 // |input.prevent_inline_autocomplete()| is true, or the input text contains
51 // trailing whitespace, or if always_prevent_inline_autocomplete is true. 50 // trailing whitespace, or if always_prevent_inline_autocomplete is true.
52 bool PreventInlineAutocomplete(const AutocompleteInput& input); 51 bool PreventInlineAutocomplete(const AutocompleteInput& input);
53 52
54 // If true, we always prevent inline autocompletions. 53 // If true, we always prevent inline autocompletions.
55 bool always_prevent_inline_autocomplete_; 54 bool always_prevent_inline_autocomplete_;
56 }; 55 };
57 56
58 #endif // CHROME_BROWSER_AUTOCOMPLETE_HISTORY_PROVIDER_H_ 57 #endif // CHROME_BROWSER_AUTOCOMPLETE_HISTORY_PROVIDER_H_
OLDNEW
« no previous file with comments | « chrome/browser/autocomplete/history_contents_provider.h ('k') | chrome/browser/autocomplete/history_provider_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698