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

Unified Diff: components/bookmarks/browser/bookmark_client.h

Issue 2537223008: Add TitledUrlIndex for indexing arbitrary title/URL pairs (Closed)
Patch Set: add TypedCountSorter, typedef -> using Created 4 years 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 side-by-side diff with in-line comments
Download patch
Index: components/bookmarks/browser/bookmark_client.h
diff --git a/components/bookmarks/browser/bookmark_client.h b/components/bookmarks/browser/bookmark_client.h
index 5eb625fa88ff6f94ffd38ca8b203a288cff611e9..6e2cf1c99cd0f244dc587a368a03cdc297ce8bfb 100644
--- a/components/bookmarks/browser/bookmark_client.h
+++ b/components/bookmarks/browser/bookmark_client.h
@@ -32,12 +32,12 @@ class BookmarkPermanentNode;
// e.g. Chrome.
class BookmarkClient {
public:
- // Types representing a set of BookmarkNode and a mapping from BookmarkNode
- // to the number of time the corresponding URL has been typed by the user in
+ // Types representing a set of BookmarkNodes and a mapping from BookmarkNode
+ // to the number of times the corresponding URL has been typed by the user in
// the Omnibox.
- typedef std::set<const BookmarkNode*> NodeSet;
- typedef std::pair<const BookmarkNode*, int> NodeTypedCountPair;
- typedef std::vector<NodeTypedCountPair> NodeTypedCountPairs;
+ using NodeSet = std::set<const BookmarkNode*>;
+ using NodeTypedCountPair = std::pair<const BookmarkNode*, int>;
+ using NodeTypedCountPairs = std::vector<NodeTypedCountPair>;
virtual ~BookmarkClient() {}

Powered by Google App Engine
This is Rietveld 408576698