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

Unified Diff: components/offline_pages/core/prefetch/prefetch_item_unittest.cc

Issue 2879013002: Create skeleton for the Prefetching store and initial pipeline step. (Closed)
Patch Set: Made construction params a cost&. Created 3 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/offline_pages/core/prefetch/prefetch_item_unittest.cc
diff --git a/components/offline_pages/core/prefetch/prefetch_item_unittest.cc b/components/offline_pages/core/prefetch/prefetch_item_unittest.cc
index 68433d477dc3d162b7ae5ce060cfebfcb6964146..e5710ea21259c3dcb06f9de16c04a547a5f77c0d 100644
--- a/components/offline_pages/core/prefetch/prefetch_item_unittest.cc
+++ b/components/offline_pages/core/prefetch/prefetch_item_unittest.cc
@@ -21,12 +21,7 @@ TEST(PrefetchItemTest, OperatorEqualsAndCopyConstructor) {
EXPECT_EQ(item1, PrefetchItem(item1));
item1 = PrefetchItem();
- item1.client_name_space = "B";
- EXPECT_NE(item1, PrefetchItem());
- EXPECT_EQ(item1, PrefetchItem(item1));
- item1 = PrefetchItem();
-
- item1.client_id = "C";
+ item1.client_id = ClientId("B", "C");
EXPECT_NE(item1, PrefetchItem());
EXPECT_EQ(item1, PrefetchItem(item1));
item1 = PrefetchItem();
« no previous file with comments | « components/offline_pages/core/prefetch/prefetch_item.cc ('k') | components/offline_pages/core/prefetch/prefetch_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698