refactor: replace deprecated DISALLOW_COPY_AND_ASSIGN (#31633)
This commit is contained in:
parent
2a2a1a834c
commit
65a980c673
231 changed files with 918 additions and 576 deletions
|
@ -92,6 +92,11 @@ class SystemNetworkContextManager::URLLoaderFactoryForSystem
|
|||
DETACH_FROM_SEQUENCE(sequence_checker_);
|
||||
}
|
||||
|
||||
// disable copy
|
||||
URLLoaderFactoryForSystem(const URLLoaderFactoryForSystem&) = delete;
|
||||
URLLoaderFactoryForSystem& operator=(const URLLoaderFactoryForSystem&) =
|
||||
delete;
|
||||
|
||||
// mojom::URLLoaderFactory implementation:
|
||||
void CreateLoaderAndStart(
|
||||
mojo::PendingReceiver<network::mojom::URLLoader> request,
|
||||
|
@ -132,8 +137,6 @@ class SystemNetworkContextManager::URLLoaderFactoryForSystem
|
|||
|
||||
SEQUENCE_CHECKER(sequence_checker_);
|
||||
SystemNetworkContextManager* manager_;
|
||||
|
||||
DISALLOW_COPY_AND_ASSIGN(URLLoaderFactoryForSystem);
|
||||
};
|
||||
|
||||
network::mojom::NetworkContext* SystemNetworkContextManager::GetContext() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue