Commit feb98719 authored by Bo Majewski's avatar Bo Majewski Committed by Commit Bot

File SWA: Removes deprecated macro.

Removes DISALLOW_COPY_AND_ASSIGN and replaces it with explicit
deletions.

Bug: 1113981
Change-Id: I8deba3663a6ded97bf13c3398c199a8623a13bbb
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2513808
Commit-Queue: Bo Majewski <majewski@chromium.org>
Reviewed-by: default avatarNoel Gordon <noel@chromium.org>
Cr-Commit-Position: refs/heads/master@{#823298}
parent 1a6a0bd5
...@@ -7,7 +7,6 @@ ...@@ -7,7 +7,6 @@
#include <memory> #include <memory>
#include "base/macros.h"
#include "base/timer/timer.h" #include "base/timer/timer.h"
#include "chromeos/components/file_manager/mojom/file_manager.mojom.h" #include "chromeos/components/file_manager/mojom/file_manager.mojom.h"
#include "mojo/public/cpp/bindings/pending_receiver.h" #include "mojo/public/cpp/bindings/pending_receiver.h"
...@@ -26,6 +25,9 @@ class FileManagerPageHandler : public mojom::PageHandler { ...@@ -26,6 +25,9 @@ class FileManagerPageHandler : public mojom::PageHandler {
mojo::PendingRemote<mojom::Page> pending_page); mojo::PendingRemote<mojom::Page> pending_page);
~FileManagerPageHandler() override; ~FileManagerPageHandler() override;
FileManagerPageHandler(const FileManagerPageHandler&) = delete;
FileManagerPageHandler& operator=(const FileManagerPageHandler&) = delete;
private: private:
// mojom::PageHandler: // mojom::PageHandler:
void GetFoo(GetFooCallback callback) override; void GetFoo(GetFooCallback callback) override;
...@@ -41,7 +43,6 @@ class FileManagerPageHandler : public mojom::PageHandler { ...@@ -41,7 +43,6 @@ class FileManagerPageHandler : public mojom::PageHandler {
std::string foo_; std::string foo_;
base::OneShotTimer barrel_roll_timer_; base::OneShotTimer barrel_roll_timer_;
DISALLOW_COPY_AND_ASSIGN(FileManagerPageHandler);
}; };
} // namespace file_manager } // namespace file_manager
......
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