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

Unified Diff: components/bookmarks/browser/bookmark_index_unittest.cc

Issue 325443002: Move about://-related constants from //content to //url (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Android ifx Created 6 years, 6 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/browser/bookmark_index_unittest.cc
diff --git a/components/bookmarks/browser/bookmark_index_unittest.cc b/components/bookmarks/browser/bookmark_index_unittest.cc
index 325c4f800f01d7162916601ca4cb1a6efb31f36d..e588217322faabad29522440011d6689c9c3d364 100644
--- a/components/bookmarks/browser/bookmark_index_unittest.cc
+++ b/components/bookmarks/browser/bookmark_index_unittest.cc
@@ -368,7 +368,7 @@ TEST_F(BookmarkIndexTest, MatchPositionsURLs) {
// Makes sure index is updated when a node is removed.
TEST_F(BookmarkIndexTest, Remove) {
const char* titles[] = { "a", "b" };
- const char* urls[] = { kAboutBlankURL, kAboutBlankURL };
+ const char* urls[] = {kAboutBlankURL, kAboutBlankURL};
AddBookmarks(titles, urls, ARRAYSIZE_UNSAFE(titles));
// Remove the node and make sure we don't get back any results.
@@ -379,7 +379,7 @@ TEST_F(BookmarkIndexTest, Remove) {
// Makes sure index is updated when a node's title is changed.
TEST_F(BookmarkIndexTest, ChangeTitle) {
const char* titles[] = { "a", "b" };
- const char* urls[] = { kAboutBlankURL, kAboutBlankURL };
+ const char* urls[] = {kAboutBlankURL, kAboutBlankURL};
AddBookmarks(titles, urls, ARRAYSIZE_UNSAFE(titles));
// Remove the node and make sure we don't get back any results.
@@ -391,7 +391,7 @@ TEST_F(BookmarkIndexTest, ChangeTitle) {
// Makes sure no more than max queries is returned.
TEST_F(BookmarkIndexTest, HonorMax) {
const char* titles[] = { "abcd", "abcde" };
- const char* urls[] = { kAboutBlankURL, kAboutBlankURL };
+ const char* urls[] = {kAboutBlankURL, kAboutBlankURL};
AddBookmarks(titles, urls, ARRAYSIZE_UNSAFE(titles));
std::vector<BookmarkMatch> matches;
« no previous file with comments | « chrome/utility/importer/bookmarks_file_importer.cc ('k') | content/browser/accessibility/accessibility_win_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698