Commit e5d70b71 authored by Willie Koomson's avatar Willie Koomson Committed by Commit Bot

Add virtual destructor to ThrottleService

This change addresses a comment in the previous ThrottleService CL,
fixing the class definition by making the destructor virtual.

Bug: 997397
Test: Run ThrottleService unit test
Change-Id: Ied2f28781075f4a766aee5243698a93acb5a122b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1834568Reviewed-by: default avatarXiyuan Xia <xiyuan@chromium.org>
Reviewed-by: default avatarYusuke Sato <yusukes@chromium.org>
Commit-Queue: Willie Koomson <wvk@google.com>
Cr-Commit-Position: refs/heads/master@{#702049}
parent 03072b3f
...@@ -27,7 +27,7 @@ namespace chromeos { ...@@ -27,7 +27,7 @@ namespace chromeos {
class ThrottleService { class ThrottleService {
public: public:
explicit ThrottleService(content::BrowserContext* context); explicit ThrottleService(content::BrowserContext* context);
~ThrottleService(); virtual ~ThrottleService();
// Functions for testing // Functions for testing
void NotifyObserverStateChangedForTesting(); void NotifyObserverStateChangedForTesting();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment