Commit 44b4d7f3 authored by Reilly Grant's avatar Reilly Grant Committed by Chromium LUCI CQ

Convert callbacks in //chrome/browser/chromeos/chromebox_for_meetings

This change converts callbacks from base::Bind and base::Callback to
Once/Repeating in //chrome/browser/chromeos/chromebox_for_meetings.

Bug: 1148570
Change-Id: I5ea12291720cc501393eae32d2a22a077dbb1e66
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2645515
Auto-Submit: Reilly Grant <reillyg@chromium.org>
Reviewed-by: default avatarKyle Williams <kdgwill@chromium.org>
Commit-Queue: Kyle Williams <kdgwill@chromium.org>
Cr-Commit-Position: refs/heads/master@{#846383}
parent b7552c2a
...@@ -55,9 +55,9 @@ class FakeDelegate : public ServiceAdaptor::Delegate { ...@@ -55,9 +55,9 @@ class FakeDelegate : public ServiceAdaptor::Delegate {
int connect_count = 0; int connect_count = 0;
int disconnect_count = 0; int disconnect_count = 0;
int bind_request_count = 0; int bind_request_count = 0;
base::Closure connect_callback_; base::RepeatingClosure connect_callback_;
base::Closure disconnect_callback_; base::RepeatingClosure disconnect_callback_;
base::Closure bind_service_callback_; base::RepeatingClosure bind_service_callback_;
}; };
class CfmServiceAdaptorTest : public testing::Test { class CfmServiceAdaptorTest : public testing::Test {
......
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