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

Side by Side Diff: chrome/browser/autocomplete/history_provider_util.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_UTIL_H_ 5 #ifndef CHROME_BROWSER_AUTOCOMPLETE_HISTORY_PROVIDER_UTIL_H_
6 #define CHROME_BROWSER_AUTOCOMPLETE_HISTORY_PROVIDER_UTIL_H_ 6 #define CHROME_BROWSER_AUTOCOMPLETE_HISTORY_PROVIDER_UTIL_H_
7 #pragma once
8 7
9 #include <deque> 8 #include <deque>
10 #include <vector> 9 #include <vector>
11 10
12 #include "chrome/browser/history/history_types.h" 11 #include "chrome/browser/history/history_types.h"
13 12
14 namespace history { 13 namespace history {
15 14
16 // Used for intermediate history result operations. 15 // Used for intermediate history result operations.
17 struct HistoryMatch { 16 struct HistoryMatch {
(...skipping 27 matching lines...) Expand all
45 // better than a non-innermost match ("www.google.com"). If the user types 44 // better than a non-innermost match ("www.google.com"). If the user types
46 // "x", no scheme in our prefix list (or "www.") begins with x, so all 45 // "x", no scheme in our prefix list (or "www.") begins with x, so all
47 // matches are, vacuously, "innermost matches". 46 // matches are, vacuously, "innermost matches".
48 bool innermost_match; 47 bool innermost_match;
49 }; 48 };
50 typedef std::deque<HistoryMatch> HistoryMatches; 49 typedef std::deque<HistoryMatch> HistoryMatches;
51 50
52 } // namespace history 51 } // namespace history
53 52
54 #endif // CHROME_BROWSER_AUTOCOMPLETE_HISTORY_PROVIDER_UTIL_H_ 53 #endif // CHROME_BROWSER_AUTOCOMPLETE_HISTORY_PROVIDER_UTIL_H_
OLDNEW
« no previous file with comments | « chrome/browser/autocomplete/history_provider.h ('k') | chrome/browser/autocomplete/history_quick_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698