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

Side by Side Diff: chrome/android/java/src/org/chromium/chrome/browser/bookmarks/BookmarkMatch.java

Issue 1688033002: Rename EnhancedBookmarks to Bookmarks, part 1. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments from #2 Created 4 years, 10 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 package org.chromium.chrome.browser.enhancedbookmarks; 5 package org.chromium.chrome.browser.bookmarks;
6 6
7 import android.util.Pair; 7 import android.util.Pair;
8 8
9 import org.chromium.base.annotations.CalledByNative; 9 import org.chromium.base.annotations.CalledByNative;
10 import org.chromium.components.bookmarks.BookmarkId; 10 import org.chromium.components.bookmarks.BookmarkId;
11 11
12 import java.util.List; 12 import java.util.List;
13 13
14 /** 14 /**
15 * Object that associates a BookmarkId with search term matches found in the boo kmark's title and 15 * Object that associates a BookmarkId with search term matches found in the boo kmark's title and
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 return mUrlMatchPositions; 56 return mUrlMatchPositions;
57 } 57 }
58 58
59 @CalledByNative 59 @CalledByNative
60 private static BookmarkMatch createBookmarkMatch(BookmarkId bookmarkId, 60 private static BookmarkMatch createBookmarkMatch(BookmarkId bookmarkId,
61 List<Pair<Integer, Integer>> titleMatchPositions, 61 List<Pair<Integer, Integer>> titleMatchPositions,
62 List<Pair<Integer, Integer>> urlMatchPositions) { 62 List<Pair<Integer, Integer>> urlMatchPositions) {
63 return new BookmarkMatch(bookmarkId, titleMatchPositions, urlMatchPositi ons); 63 return new BookmarkMatch(bookmarkId, titleMatchPositions, urlMatchPositi ons);
64 } 64 }
65 } 65 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698