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

Unified Diff: Source/core/fetch/ClientHintsPreferencesTest.cpp

Issue 1189523015: Add use-counters for Client-Hints features (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Changed to counting functions Created 5 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
« no previous file with comments | « Source/core/fetch/ClientHintsPreferences.cpp ('k') | Source/core/fetch/FetchContext.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/fetch/ClientHintsPreferencesTest.cpp
diff --git a/Source/core/fetch/ClientHintsPreferencesTest.cpp b/Source/core/fetch/ClientHintsPreferencesTest.cpp
index de545d911a6e5060bc5988ab2f5328f6ddc4a176..e59f1a170c0d81942ae6c8e234455b7e02057ebd 100644
--- a/Source/core/fetch/ClientHintsPreferencesTest.cpp
+++ b/Source/core/fetch/ClientHintsPreferencesTest.cpp
@@ -32,7 +32,7 @@ TEST_F(ClientHintsPreferencesTest, Basic)
ClientHintsPreferences preferences;
const char* value = testCase.headerValue;
- handleAcceptClientHintsHeader(value, preferences);
+ handleAcceptClientHintsHeader(value, preferences, nullptr);
EXPECT_EQ(testCase.expectationResourceWidth, preferences.shouldSendResourceWidth());
EXPECT_EQ(testCase.expectationDPR, preferences.shouldSendDPR());
EXPECT_EQ(testCase.expectationViewportWidth, preferences.shouldSendViewportWidth());
« no previous file with comments | « Source/core/fetch/ClientHintsPreferences.cpp ('k') | Source/core/fetch/FetchContext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698