commit | ae0ffa00112be08edce00358f4c8b6d75fff4670 | [log] [tgz] |
---|---|---|
author | Peter Boström <[email protected]> | Tue Oct 05 17:08:33 2021 |
committer | Chromium LUCI CQ <[email protected]> | Tue Oct 05 17:08:33 2021 |
tree | ba601c3283d4e1f3469faf8acb93a2998017711b | |
parent | 87d79efbc4218a98c0346c4adc0e0a2df7f94657 [diff] [blame] |
Remove DISALLOW_* macros from chromecast/ This inlines all remaining DISALLOW_* macros in chromecast/. This is done manually (vim regex + manually finding insertion position). IWYU cleanup is left as a separate pass that is easier when these macros go away. Bug: 1010217 Change-Id: I8986fc02493991173a7e0f4181bae50acc832d03 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3203147 Commit-Queue: Peter Boström <[email protected]> Reviewed-by: Lei Zhang <[email protected]> Owners-Override: Lei Zhang <[email protected]> Cr-Commit-Position: refs/heads/main@{#928220}
diff --git a/chromecast/browser/cast_web_contents.h b/chromecast/browser/cast_web_contents.h index f8edba3..c79b720 100644 --- a/chromecast/browser/cast_web_contents.h +++ b/chromecast/browser/cast_web_contents.h
@@ -143,6 +143,10 @@ static CastWebContents* FromWebContents(content::WebContents* web_contents); CastWebContents(); + + CastWebContents(const CastWebContents&) = delete; + CastWebContents& operator=(const CastWebContents&) = delete; + ~CastWebContents() override; // Tab identifier for the WebContents, mainly used by the tabs extension API. @@ -281,8 +285,6 @@ // valid sequence, enforced via SequenceChecker. void AddObserver(Observer* observer); void RemoveObserver(Observer* observer); - - DISALLOW_COPY_AND_ASSIGN(CastWebContents); }; } // namespace chromecast