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

Unified Diff: content/browser/webrtc/webrtc_internals.h

Issue 2516573003: Mark new accessor methods in WebRTCInternals as const. (Closed)
Patch Set: Created 4 years, 1 month 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: content/browser/webrtc/webrtc_internals.h
diff --git a/content/browser/webrtc/webrtc_internals.h b/content/browser/webrtc/webrtc_internals.h
index 66f8cd1c4a15705e4737ef27901f052fa14df5e6..48a222fb736dd1ddee96033c25113888aa106ecf 100644
--- a/content/browser/webrtc/webrtc_internals.h
+++ b/content/browser/webrtc/webrtc_internals.h
@@ -109,8 +109,8 @@ class CONTENT_EXPORT WebRTCInternals : public RenderProcessHostObserver,
bool IsEventLogRecordingsEnabled() const;
const base::FilePath& GetEventLogFilePath() const;
- int num_open_connections() { return num_open_connections_; }
- bool IsPowerSavingBlocked() { return !!power_save_blocker_; }
+ int num_open_connections() const { return num_open_connections_; }
+ bool IsPowerSavingBlocked() const { return !!power_save_blocker_; }
protected:
// Constructor/Destructor are protected to allow tests to derive from the
« 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