summaryrefslogtreecommitdiff
path: root/chromium/net/nqe/throughput_analyzer.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/net/nqe/throughput_analyzer.h')
-rw-r--r--chromium/net/nqe/throughput_analyzer.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/chromium/net/nqe/throughput_analyzer.h b/chromium/net/nqe/throughput_analyzer.h
index 77350017b3a..446a9022164 100644
--- a/chromium/net/nqe/throughput_analyzer.h
+++ b/chromium/net/nqe/throughput_analyzer.h
@@ -63,7 +63,7 @@ class NET_EXPORT_PRIVATE ThroughputAnalyzer {
const NetworkQualityEstimatorParams* params,
scoped_refptr<base::SingleThreadTaskRunner> task_runner,
ThroughputObservationCallback throughput_observation_callback,
- base::TickClock* tick_clock,
+ const base::TickClock* tick_clock,
const NetLogWithSource& net_log);
virtual ~ThroughputAnalyzer();
@@ -89,7 +89,7 @@ class NET_EXPORT_PRIVATE ThroughputAnalyzer {
bool IsCurrentlyTrackingThroughput() const;
// Overrides the tick clock used by |this| for testing.
- void SetTickClockForTesting(base::TickClock* tick_clock);
+ void SetTickClockForTesting(const base::TickClock* tick_clock);
protected:
// Exposed for testing.
@@ -173,7 +173,7 @@ class NET_EXPORT_PRIVATE ThroughputAnalyzer {
ThroughputObservationCallback throughput_observation_callback_;
// Guaranteed to be non-null during the lifetime of |this|.
- base::TickClock* tick_clock_;
+ const base::TickClock* tick_clock_;
// Time when last connection change was observed.
base::TimeTicks last_connection_change_;