public extensions::ExtensionRegistryObserver {
public:
enum PostReloadActionType {
- LAUNCH,
+ LAUNCH_FOR_RELOAD,
RESTART,
- LAUNCH_WITH_COMMAND_LINE,
+ LAUNCH_FOR_LOAD_AND_LAUNCH,
};
struct PostReloadAction {
};
explicit AppLoadService(Profile* profile);
- virtual ~AppLoadService();
+ ~AppLoadService() override;
// Reload the application with the given id and then send it the OnRestarted
// event.
private:
// 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;
// extensions::ExtensionRegistryObserver.
- virtual void OnExtensionUnloaded(
+ void OnExtensionUnloaded(
content::BrowserContext* browser_context,
const extensions::Extension* extension,
- extensions::UnloadedExtensionInfo::Reason reason) OVERRIDE;
+ extensions::UnloadedExtensionInfo::Reason reason) override;
bool WasUnloadedForReload(
const extensions::ExtensionId& extension_id,