mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Remove DISALLOW_ macro from libcef/ (see issue #3234)
Also perform related C++ cleanup: - Use =default instead of {} for default implementations of constructors/destructors. - Replace typedef with using.
This commit is contained in:
@@ -23,15 +23,21 @@ class ChromeProfileManagerAlloy;
|
||||
class BackgroundModeManager {
|
||||
public:
|
||||
BackgroundModeManager();
|
||||
virtual ~BackgroundModeManager();
|
||||
|
||||
private:
|
||||
DISALLOW_COPY_AND_ASSIGN(BackgroundModeManager);
|
||||
BackgroundModeManager(const BackgroundModeManager&) = delete;
|
||||
BackgroundModeManager& operator=(const BackgroundModeManager&) = delete;
|
||||
|
||||
virtual ~BackgroundModeManager();
|
||||
};
|
||||
|
||||
class ChromeBrowserProcessAlloy : public BrowserProcess {
|
||||
public:
|
||||
ChromeBrowserProcessAlloy();
|
||||
|
||||
ChromeBrowserProcessAlloy(const ChromeBrowserProcessAlloy&) = delete;
|
||||
ChromeBrowserProcessAlloy& operator=(const ChromeBrowserProcessAlloy&) =
|
||||
delete;
|
||||
|
||||
~ChromeBrowserProcessAlloy() override;
|
||||
|
||||
void Initialize();
|
||||
@@ -122,8 +128,6 @@ class ChromeBrowserProcessAlloy : public BrowserProcess {
|
||||
std::unique_ptr<base::FieldTrialList> field_trial_list_;
|
||||
|
||||
std::unique_ptr<component_updater::ComponentUpdateService> component_updater_;
|
||||
|
||||
DISALLOW_COPY_AND_ASSIGN(ChromeBrowserProcessAlloy);
|
||||
};
|
||||
|
||||
#endif // CEF_LIBCEF_BROWSER_ALLOY_CHROME_BROWSER_PROCESS_ALLOY_H_
|
||||
|
Reference in New Issue
Block a user