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

Unified Diff: third_party/WebKit/Source/platform/network/ResourceRequestTest.cpp

Issue 1738623004: Rename enums/functions that collide in chromium style. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@get-names-4
Patch Set: get-names-5: rebase-and-stuff Created 4 years, 10 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: third_party/WebKit/Source/platform/network/ResourceRequestTest.cpp
diff --git a/third_party/WebKit/Source/platform/network/ResourceRequestTest.cpp b/third_party/WebKit/Source/platform/network/ResourceRequestTest.cpp
index 7a70605bcf3b558b67b55f856b3ae4584796430e..c5282a06f450ec9f6256d9cd169449dc4dac37d7 100644
--- a/third_party/WebKit/Source/platform/network/ResourceRequestTest.cpp
+++ b/third_party/WebKit/Source/platform/network/ResourceRequestTest.cpp
@@ -50,7 +50,7 @@ TEST(ResourceRequestTest, CrossThreadResourceRequestData)
original.setHTTPReferrer(Referrer("http://www.example.com/referrer.htm", ReferrerPolicyDefault));
EXPECT_STREQ("http://www.example.com/test.htm", original.url().string().utf8().data());
- EXPECT_EQ(UseProtocolCachePolicy, original.cachePolicy());
+ EXPECT_EQ(UseProtocolCachePolicy, original.getCachePolicy());
EXPECT_EQ(10, original.timeoutInterval());
EXPECT_STREQ("http://www.example.com/first_party.htm", original.firstPartyForCookies().string().utf8().data());
EXPECT_STREQ("www.example.com", original.requestorOrigin()->host().utf8().data());
@@ -78,7 +78,7 @@ TEST(ResourceRequestTest, CrossThreadResourceRequestData)
ResourceRequest copy1(data1.get());
EXPECT_STREQ("http://www.example.com/test.htm", copy1.url().string().utf8().data());
- EXPECT_EQ(UseProtocolCachePolicy, copy1.cachePolicy());
+ EXPECT_EQ(UseProtocolCachePolicy, copy1.getCachePolicy());
EXPECT_EQ(10, copy1.timeoutInterval());
EXPECT_STREQ("http://www.example.com/first_party.htm", copy1.firstPartyForCookies().string().utf8().data());
EXPECT_STREQ("www.example.com", copy1.requestorOrigin()->host().utf8().data());

Powered by Google App Engine
This is Rietveld 408576698