class ImportEndedObserver : public importer::ImporterProgressObserver {
public:
ImportEndedObserver() : ended_(false) {}
- virtual ~ImportEndedObserver() {}
+ ~ImportEndedObserver() override {}
// importer::ImporterProgressObserver:
- virtual void ImportStarted() OVERRIDE {}
- virtual void ImportItemStarted(importer::ImportItem item) OVERRIDE {}
- virtual void ImportItemEnded(importer::ImportItem item) OVERRIDE {}
- virtual void ImportEnded() OVERRIDE {
+ void ImportStarted() override {}
+ void ImportItemStarted(importer::ImportItem item) override {}
+ void ImportItemEnded(importer::ImportItem item) override {}
+ void ImportEnded() override {
ended_ = true;
if (!callback_for_import_end_.is_null())
callback_for_import_end_.Run();
content::NotificationService::AllSources());
}
- virtual void Observe(int type,
- const content::NotificationSource& source,
- const content::NotificationDetails& details) OVERRIDE {
+ void Observe(int type,
+ const content::NotificationSource& source,
+ const content::NotificationDetails& details) override {
// After processing the notification we always delete ourselves.
if (type == extensions::NOTIFICATION_EXTENSIONS_READY_DEPRECATED) {
Profile* profile = content::Source<Profile>(source).ptr();
private:
// Private ctor forces it to be created only in the heap.
- virtual ~FirstRunDelayedTasks() {}
+ ~FirstRunDelayedTasks() override {}
// The extension work is to basically trigger an extension update check.
// If the extension specified in the master pref is older than the live
private:
FirstRunBubbleLauncher();
- virtual ~FirstRunBubbleLauncher();
+ ~FirstRunBubbleLauncher() override;
// content::NotificationObserver:
- virtual void Observe(int type,
- const content::NotificationSource& source,
- const content::NotificationDetails& details) OVERRIDE;
+ void Observe(int type,
+ const content::NotificationSource& source,
+ const content::NotificationDetails& details) override;
content::NotificationRegistrar registrar_;