Tommi 3da04a93cd Allow SequenceChecker to be initialized detached.
The motivation for this is to not have to implement this pattern:

foo.h:

class Foo {
 public:
  Foo();
 private:
  SequenceChecker checker_;
};

foo.cc:

Foo::Foo() {
  checker_.Detach();
}

And instead be able to do this inline in the .h file:

class Foo {
 public:
  Foo();
 private:
  SequenceChecker checker_{SequenceChecker::kDetached};
};

Bug: none
Change-Id: Idd7ca82d15c2f77f3aaccf26f1943a49f4b40661
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/298445
Reviewed-by: Danil Chapovalov <danilchap@webrtc.org>
Commit-Queue: Tomas Gunnarsson <tommi@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#39616}
2023-03-21 12:34:15 +00:00
..
2023-02-24 11:48:39 +00:00
2022-08-19 07:11:06 +00:00
2022-06-07 07:14:06 +00:00
2022-09-30 12:01:28 +00:00
2022-01-28 15:13:45 +00:00
2021-08-31 14:27:49 +00:00
2019-11-26 14:05:20 +00:00
2022-10-08 08:38:36 +00:00
2021-09-21 15:17:26 +00:00
2021-02-10 15:04:55 +00:00
2021-10-13 19:26:10 +00:00