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

Unified Diff: components/gcm_driver/gcm_driver_desktop_unittest.cc

Issue 772383003: Fix parameter types of CompareDelaySeconds from bool to int64. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/gcm_driver/gcm_driver_desktop_unittest.cc
diff --git a/components/gcm_driver/gcm_driver_desktop_unittest.cc b/components/gcm_driver/gcm_driver_desktop_unittest.cc
index f27d0188f6018b768188f4cde3e5a557cc7ee59b..1424fedc37ff6c91a8e04bd2af2539a139c2e21a 100644
--- a/components/gcm_driver/gcm_driver_desktop_unittest.cc
+++ b/components/gcm_driver/gcm_driver_desktop_unittest.cc
@@ -1008,8 +1008,8 @@ class GCMChannelStatusSyncerTest : public GCMDriverTest {
void SetUp() override;
void CompleteGCMChannelStatusRequest(bool enabled, int poll_interval_seconds);
- bool CompareDelaySeconds(bool expected_delay_seconds,
- bool actual_delay_seconds);
+ bool CompareDelaySeconds(int64 expected_delay_seconds,
+ int64 actual_delay_seconds);
GCMChannelStatusSyncer* syncer() {
return driver()->gcm_channel_status_syncer_for_testing();
@@ -1057,7 +1057,7 @@ void GCMChannelStatusSyncerTest::CompleteGCMChannelStatusRequest(
}
bool GCMChannelStatusSyncerTest::CompareDelaySeconds(
- bool expected_delay_seconds, bool actual_delay_seconds) {
+ int64 expected_delay_seconds, int64 actual_delay_seconds) {
// Most of time, the actual delay should not be smaller than the expected
// delay.
if (actual_delay_seconds >= expected_delay_seconds)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698