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
|
@ -14,7 +14,6 @@
|
|||
#include <string>
|
||||
|
||||
#include "base/command_line.h"
|
||||
#include "base/macros.h"
|
||||
#include "chrome/browser/browser_process.h"
|
||||
#include "components/prefs/pref_service.h"
|
||||
#include "components/prefs/value_map_pref_store.h"
|
||||
|
@ -36,6 +35,10 @@ class BrowserProcessImpl : public BrowserProcess {
|
|||
BrowserProcessImpl();
|
||||
~BrowserProcessImpl() override;
|
||||
|
||||
// disable copy
|
||||
BrowserProcessImpl(const BrowserProcessImpl&) = delete;
|
||||
BrowserProcessImpl& operator=(const BrowserProcessImpl&) = delete;
|
||||
|
||||
static void ApplyProxyModeFromCommandLine(ValueMapPrefStore* pref_store);
|
||||
|
||||
BuildState* GetBuildState() override;
|
||||
|
@ -109,8 +112,6 @@ class BrowserProcessImpl : public BrowserProcess {
|
|||
#endif
|
||||
std::unique_ptr<PrefService> local_state_;
|
||||
std::string locale_;
|
||||
|
||||
DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl);
|
||||
};
|
||||
|
||||
#endif // SHELL_BROWSER_BROWSER_PROCESS_IMPL_H_
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue