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

Unified Diff: chrome/browser/importer/profile_writer_unittest.cc

Issue 2569333003: Rename BookmarkIndex to TitledUrlIndex and BookmarkMatch to TitledUrlMatch (Closed)
Patch Set: fix bookmark_bridge.cc 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
« no previous file with comments | « chrome/browser/android/bookmarks/bookmark_bridge.cc ('k') | components/bookmarks/browser/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/importer/profile_writer_unittest.cc
diff --git a/chrome/browser/importer/profile_writer_unittest.cc b/chrome/browser/importer/profile_writer_unittest.cc
index dbed31920cc0dbaba88758c02983c4c22887a2e1..8a48a67a376f2a6a6df8c0ec9e2be59501e8101d 100644
--- a/chrome/browser/importer/profile_writer_unittest.cc
+++ b/chrome/browser/importer/profile_writer_unittest.cc
@@ -16,17 +16,17 @@
#include "chrome/browser/importer/importer_unittest_utils.h"
#include "chrome/common/importer/imported_bookmark_entry.h"
#include "chrome/test/base/testing_profile.h"
-#include "components/bookmarks/browser/bookmark_match.h"
#include "components/bookmarks/browser/bookmark_model.h"
#include "components/bookmarks/browser/bookmark_utils.h"
+#include "components/bookmarks/browser/titled_url_match.h"
#include "components/bookmarks/test/bookmark_test_helpers.h"
#include "components/history/core/browser/history_service.h"
#include "components/history/core/browser/history_types.h"
#include "content/public/test/test_browser_thread_bundle.h"
#include "testing/gtest/include/gtest/gtest.h"
-using bookmarks::BookmarkMatch;
using bookmarks::BookmarkModel;
+using bookmarks::TitledUrlMatch;
class TestProfileWriter : public ProfileWriter {
public:
@@ -81,7 +81,7 @@ class ProfileWriterTest : public testing::Test {
const std::vector<BookmarkModel::URLAndTitle>& bookmarks_record,
BookmarkModel* bookmark_model,
size_t expected) {
- std::vector<BookmarkMatch> matches;
+ std::vector<TitledUrlMatch> matches;
for (size_t i = 0; i < bookmarks_record.size(); ++i) {
bookmark_model->GetBookmarksMatching(
bookmarks_record[i].title, 10, &matches);
« no previous file with comments | « chrome/browser/android/bookmarks/bookmark_bridge.cc ('k') | components/bookmarks/browser/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698