Skip to content

Commit

Permalink
Rename event arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
Sohail Rajdev committed Dec 12, 2024
1 parent 74d937a commit 0b97ba9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions proposals/runtime_on_load_on_enabled_events.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,19 +95,19 @@ namespace runtime {
//
// 'updated': The extension was reloaded after an update.
//
// 'profileStart': The extension is being loaded during a profile startup.
// 'started': The extension is being loaded during browser startup.
//
// 'reload': The extension was reloaded (e.g. via `chrome.runtime.reload() or`
// the user manually reloaded the extension).
export type OnLoadedReason = 'enabled' |
export type OnLoadedReason = 'enabled' |
'installed' |
'updated' |
'profileStart' |
'started' |
'reload';

export interface ExtensionLoadDetails {
// The reason that this event is being dispatched.
onLoadReason: OnLoadedReason;
reason: OnLoadedReason;

// Indicates the previous version of the extension, which has just been
// updated. This is present only if 'reason' is 'updated' or ‘enabled’.
Expand Down

0 comments on commit 0b97ba9

Please sign in to comment.