Chromium Code Reviews

Side by Side Diff: chrome/browser/autocomplete/history_quick_provider.cc

Issue 5606002: Move:... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 #include "chrome/browser/autocomplete/history_quick_provider.h" 5 #include "chrome/browser/autocomplete/history_quick_provider.h"
6 6
7 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 #include "base/i18n/word_iterator.h" 8 #include "base/i18n/word_iterator.h"
9 #include "base/string_util.h" 9 #include "base/string_util.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "base/utf_string_conversions.h" 11 #include "base/utf_string_conversions.h"
12 #include "chrome/browser/autocomplete/autocomplete_match.h" 12 #include "chrome/browser/autocomplete/autocomplete_match.h"
13 #include "chrome/browser/history/history.h" 13 #include "chrome/browser/history/history.h"
14 #include "chrome/browser/prefs/pref_service.h" 14 #include "chrome/browser/prefs/pref_service.h"
15 #include "chrome/browser/profile.h" 15 #include "chrome/browser/profiles/profile.h"
16 #include "chrome/browser/history/in_memory_url_index.h" 16 #include "chrome/browser/history/in_memory_url_index.h"
17 #include "chrome/browser/net/url_fixer_upper.h" 17 #include "chrome/browser/net/url_fixer_upper.h"
18 #include "chrome/browser/plugin_service.h" 18 #include "chrome/browser/plugin_service.h"
19 #include "chrome/common/notification_source.h" 19 #include "chrome/common/notification_source.h"
20 #include "chrome/common/notification_type.h" 20 #include "chrome/common/notification_type.h"
21 #include "chrome/common/pref_names.h" 21 #include "chrome/common/pref_names.h"
22 #include "chrome/common/url_constants.h" 22 #include "chrome/common/url_constants.h"
23 #include "googleurl/src/url_util.h" 23 #include "googleurl/src/url_util.h"
24 #include "net/base/escape.h" 24 #include "net/base/escape.h"
25 #include "net/base/net_util.h" 25 #include "net/base/net_util.h"
(...skipping 160 matching lines...)
186 case INLINE_AUTOCOMPLETE: 186 case INLINE_AUTOCOMPLETE:
187 return 1400; 187 return 1400;
188 188
189 case WHAT_YOU_TYPED: 189 case WHAT_YOU_TYPED:
190 return 1200; 190 return 1200;
191 191
192 default: 192 default:
193 return 900 + static_cast<int>(match_number); 193 return 900 + static_cast<int>(match_number);
194 } 194 }
195 } 195 }
OLDNEW
« no previous file with comments | « chrome/browser/autocomplete/history_contents_provider.cc ('k') | chrome/browser/autocomplete/history_url_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine