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

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

Issue 10692075: Enhance chrome://omnibox Presentation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Add braces. Created 8 years, 4 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 #include "chrome/browser/autocomplete/history_url_provider.h" 5 #include "chrome/browser/autocomplete/history_url_provider.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/bind.h" 10 #include "base/bind.h"
(...skipping 918 matching lines...) Expand 10 before | Expand all | Expand 10 after
929 AutocompleteMatch::ClassifyLocationInString(string16::npos, 0, 929 AutocompleteMatch::ClassifyLocationInString(string16::npos, 0,
930 match.contents.length(), ACMatchClassification::URL, 930 match.contents.length(), ACMatchClassification::URL,
931 &match.contents_class); 931 &match.contents_class);
932 } 932 }
933 match.description = info.title(); 933 match.description = info.title();
934 AutocompleteMatch::ClassifyMatchInString(params->input.text(), 934 AutocompleteMatch::ClassifyMatchInString(params->input.text(),
935 info.title(), 935 info.title(),
936 ACMatchClassification::NONE, 936 ACMatchClassification::NONE,
937 &match.description_class); 937 &match.description_class);
938 938
939 match.RecordAdditionalInfo("typed count", info.typed_count());
940 match.RecordAdditionalInfo("visit count", info.visit_count());
941 match.RecordAdditionalInfo("last visit", info.last_visit());
942
939 return match; 943 return match;
940 } 944 }
OLDNEW
« no previous file with comments | « chrome/browser/autocomplete/history_quick_provider.cc ('k') | chrome/browser/resources/omnibox/omnibox.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698