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

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

Issue 2014733003: Removing parsing of text from pasteboard. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: moving url parsing up the hierarchy Created 4 years, 7 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_node_data_unittest.cc
diff --git a/components/bookmarks/browser/bookmark_node_data_unittest.cc b/components/bookmarks/browser/bookmark_node_data_unittest.cc
index 24bd39a4537026387c65307fbd2b02a90443c38e..2f359e85ecc4c69a7e85dc3dbdee8958c6c2612b 100644
--- a/components/bookmarks/browser/bookmark_node_data_unittest.cc
+++ b/components/bookmarks/browser/bookmark_node_data_unittest.cc
@@ -143,8 +143,9 @@ TEST_F(BookmarkNodeDataTest, URL) {
// Writing should also put the URL and title on the clipboard.
GURL read_url;
base::string16 read_title;
- EXPECT_TRUE(data2.GetURLAndTitle(
- ui::OSExchangeData::CONVERT_FILENAMES, &read_url, &read_title));
+ EXPECT_TRUE(data2.GetURLAndTitle(ui::OSExchangeData::CONVERT_FILENAMES,
+ ui::OSExchangeData::PARSE_TEXT_AS_URL,
+ &read_url, &read_title));
EXPECT_EQ(url, read_url);
EXPECT_EQ(title, read_title);
}

Powered by Google App Engine
This is Rietveld 408576698