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

Unified Diff: components/bookmarks/core/browser/bookmark_title_match.h

Issue 184663002: Omnibox: Make URLs of Bookmarks Searchable (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix ALL_MATCHES (in response to recent changes) Created 6 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: components/bookmarks/core/browser/bookmark_title_match.h
diff --git a/components/bookmarks/core/browser/bookmark_title_match.h b/components/bookmarks/core/browser/bookmark_title_match.h
deleted file mode 100644
index be45f4ffd6c12aabc59eb151933db06ca1c9dc5e..0000000000000000000000000000000000000000
--- a/components/bookmarks/core/browser/bookmark_title_match.h
+++ /dev/null
@@ -1,31 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef COMPONENTS_BOOKMARKS_CORE_BROWSER_BOOKMARK_TITLE_MATCH_H_
-#define COMPONENTS_BOOKMARKS_CORE_BROWSER_BOOKMARK_TITLE_MATCH_H_
-
-#include <stddef.h>
-
-#include <utility>
-#include <vector>
-
-class BookmarkNode;
-
-struct BookmarkTitleMatch {
- // Each MatchPosition is the [begin, end) positions of a match within a
- // string.
- typedef std::pair<size_t, size_t> MatchPosition;
- typedef std::vector<MatchPosition> MatchPositions;
-
- BookmarkTitleMatch();
- ~BookmarkTitleMatch();
-
- // The matching node of a query.
- const BookmarkNode* node;
-
- // Location of the matching words in the title of the node.
- MatchPositions match_positions;
-};
-
-#endif // COMPONENTS_BOOKMARKS_CORE_BROWSER_BOOKMARK_TITLE_MATCH_H_
« no previous file with comments | « components/bookmarks/core/browser/bookmark_match.cc ('k') | components/bookmarks/core/browser/bookmark_title_match.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698