Title: [270726] trunk/Source/WebKit
Revision
270726
Author
[email protected]
Date
2020-12-11 18:31:53 -0800 (Fri, 11 Dec 2020)

Log Message

PCM: Change debugModeSecondsUntilSend from 60 seconds to 10 seconds
https://bugs.webkit.org/show_bug.cgi?id=219816
<rdar://problem/70779862>

Unreviewed change to a constant, only used for debugging.


* NetworkProcess/PrivateClickMeasurementManager.cpp:
    debugModeSecondsUntilSend changed to 10 seconds.
(WebKit::PrivateClickMeasurementManager::attribute):
    Fixed bad indentation.

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (270725 => 270726)


--- trunk/Source/WebKit/ChangeLog	2020-12-12 02:12:50 UTC (rev 270725)
+++ trunk/Source/WebKit/ChangeLog	2020-12-12 02:31:53 UTC (rev 270726)
@@ -1,3 +1,16 @@
+2020-12-11  John Wilander  <[email protected]>
+
+        PCM: Change debugModeSecondsUntilSend from 60 seconds to 10 seconds
+        https://bugs.webkit.org/show_bug.cgi?id=219816
+        <rdar://problem/70779862>
+
+        Unreviewed change to a constant, only used for debugging.
+
+        * NetworkProcess/PrivateClickMeasurementManager.cpp:
+            debugModeSecondsUntilSend changed to 10 seconds.
+        (WebKit::PrivateClickMeasurementManager::attribute):
+            Fixed bad indentation.
+
 2020-12-11  Ryosuke Niwa  <[email protected]>
 
         [GPU Process] Cache Font objects

Modified: trunk/Source/WebKit/NetworkProcess/PrivateClickMeasurementManager.cpp (270725 => 270726)


--- trunk/Source/WebKit/NetworkProcess/PrivateClickMeasurementManager.cpp	2020-12-12 02:12:50 UTC (rev 270725)
+++ trunk/Source/WebKit/NetworkProcess/PrivateClickMeasurementManager.cpp	2020-12-12 02:31:53 UTC (rev 270726)
@@ -47,7 +47,7 @@
 using AttributeOnSite = PrivateClickMeasurement::AttributeOnSite;
 using AttributionTriggerData = PrivateClickMeasurement::AttributionTriggerData;
 
-constexpr Seconds debugModeSecondsUntilSend { 60_s };
+constexpr Seconds debugModeSecondsUntilSend { 10_s };
 
 PrivateClickMeasurementManager::PrivateClickMeasurementManager(NetworkSession& networkSession, NetworkProcess& networkProcess, PAL::SessionID sessionID)
     : m_firePendingAttributionRequestsTimer(*this, &PrivateClickMeasurementManager::firePendingAttributionRequests)
@@ -128,7 +128,7 @@
                 if (UNLIKELY(debugModeEnabled())) {
                     RELEASE_LOG_INFO(PrivateClickMeasurement, "Setting timer for firing attribution request to the debug mode timeout of %{public}f seconds where the regular timeout would have been %{public}f seconds.", debugModeSecondsUntilSend.seconds(), secondsUntilSend.seconds());
                     m_networkProcess->broadcastConsoleMessage(m_sessionID, MessageSource::PrivateClickMeasurement, MessageLevel::Log, makeString("[Private Click Measurement] Setting timer for firing attribution request to the debug mode timeout of "_s, debugModeSecondsUntilSend.seconds(), " seconds where the regular timeout would have been "_s, secondsUntilSend.seconds(), " seconds."_s));
-                        secondsUntilSend = debugModeSecondsUntilSend;
+                    secondsUntilSend = debugModeSecondsUntilSend;
                 }
                 startTimer(secondsUntilSend);
             }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to