Index: components/reading_list/reading_list_model_unittest.cc |
diff --git a/ios/chrome/browser/reading_list/reading_list_model_unittest.cc b/components/reading_list/reading_list_model_unittest.cc |
similarity index 98% |
rename from ios/chrome/browser/reading_list/reading_list_model_unittest.cc |
rename to components/reading_list/reading_list_model_unittest.cc |
index a826015ac3a4a062ca0c500078d372f9f612af59..bd01595623d2aaff271cb59f7adf87df39399592 100644 |
--- a/ios/chrome/browser/reading_list/reading_list_model_unittest.cc |
+++ b/components/reading_list/reading_list_model_unittest.cc |
@@ -5,8 +5,8 @@ |
#include "base/bind.h" |
#include "base/memory/ptr_util.h" |
#import "base/test/ios/wait_util.h" |
-#include "ios/chrome/browser/reading_list/reading_list_model_impl.h" |
-#include "ios/chrome/browser/reading_list/reading_list_model_storage.h" |
+#include "components/reading_list/reading_list_model_impl.h" |
+#include "components/reading_list/reading_list_model_storage.h" |
#include "testing/gtest/include/gtest/gtest.h" |
namespace { |
@@ -294,7 +294,7 @@ TEST_F(ReadingListModelTest, SyncMergeEntry) { |
base::MakeUnique<ReadingListEntry>(GURL("http://example.com"), "sample"); |
ASSERT_GT(sync_entry->UpdateTime(), local_update_time); |
int64_t sync_update_time = sync_entry->UpdateTime(); |
- EXPECT_FALSE(sync_entry->DistilledURL().is_valid()); |
+ EXPECT_TRUE(sync_entry->DistilledPath().empty()); |
EXPECT_EQ(model_->unread_size(), 1u); |
EXPECT_EQ(model_->read_size(), 0u); |
@@ -535,7 +535,7 @@ TEST_F(ReadingListModelTest, UpdateReadDistilledPath) { |
model_->SetEntryDistilledPath(gurl, base::FilePath("distilled/page.html")); |
AssertObserverCount(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1); |
EXPECT_EQ(ReadingListEntry::PROCESSED, entry.DistilledState()); |
- EXPECT_EQ(GURL("chrome://offline/distilled/page.html"), entry.DistilledURL()); |
+ EXPECT_EQ(base::FilePath("distilled/page.html"), entry.DistilledPath()); |
} |
// Tests that the callback is called when the entry is unread. |