commit | b4b5b57c696842480fdf1440ad404cce44d4e9c3 | [log] [tgz] |
---|---|---|
author | David Bienvenu <[email protected]> | Mon Sep 28 00:49:27 2020 |
committer | Commit Bot <[email protected]> | Mon Sep 28 00:49:27 2020 |
tree | 2e0141aff0b87b0881dbafc8f28676157b4cf755 | |
parent | e30234429c3a4d69a4880bcd9f1ae906a22ce667 [diff] [blame] |
remove DISALLOW_COPY_AND_ASSIGN from apps/* Bug: 1010217 Change-Id: I8b8759103f6f34e65d1f28ee6dde52d9a69c87f9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2434364 Reviewed-by: Dominick Ng <[email protected]> Commit-Queue: David Bienvenu <[email protected]> Cr-Commit-Position: refs/heads/master@{#811081}
diff --git a/apps/app_restore_service.h b/apps/app_restore_service.h index 63948a2..49a49fad 100644 --- a/apps/app_restore_service.h +++ b/apps/app_restore_service.h
@@ -31,6 +31,8 @@ static bool ShouldRestoreApps(bool is_browser_restart); explicit AppRestoreService(content::BrowserContext* context); + AppRestoreService(const AppRestoreService&) = delete; + AppRestoreService& operator=(const AppRestoreService&) = delete; // Restart apps that need to be restarted and clear the "running" preference // from apps to prevent them being restarted in subsequent restarts. @@ -69,8 +71,6 @@ void StopObservingAppLifetime(); content::BrowserContext* context_; - - DISALLOW_COPY_AND_ASSIGN(AppRestoreService); }; } // namespace apps