Chromium Embedded Framework (CEF) 148.0.4+ga59e378+chromium-148.0.7778.40
cef_types_component.h File Reference

Enumerations

enum  cef_component_update_error_t {
  CEF_COMPONENT_UPDATE_ERROR_NONE = 0 , CEF_COMPONENT_UPDATE_ERROR_UPDATE_IN_PROGRESS = 1 , CEF_COMPONENT_UPDATE_ERROR_UPDATE_CANCELED = 2 , CEF_COMPONENT_UPDATE_ERROR_RETRY_LATER = 3 ,
  CEF_COMPONENT_UPDATE_ERROR_SERVICE_ERROR = 4 , CEF_COMPONENT_UPDATE_ERROR_UPDATE_CHECK_ERROR = 5 , CEF_COMPONENT_UPDATE_ERROR_CRX_NOT_FOUND = 6 , CEF_COMPONENT_UPDATE_ERROR_INVALID_ARGUMENT = 7 ,
  CEF_COMPONENT_UPDATE_ERROR_BAD_CRX_DATA_CALLBACK = 8
}
 Component update error codes. More...
 
enum  cef_component_update_priority_t { CEF_COMPONENT_UPDATE_PRIORITY_BACKGROUND = 0 , CEF_COMPONENT_UPDATE_PRIORITY_FOREGROUND = 1 }
 Component update priority. More...
 
enum  cef_component_state_t {
  CEF_COMPONENT_STATE_NEW = 0 , CEF_COMPONENT_STATE_CHECKING = 1 , CEF_COMPONENT_STATE_CAN_UPDATE = 2 , CEF_COMPONENT_STATE_DOWNLOADING = 3 ,
  CEF_COMPONENT_STATE_DECOMPRESSING = 4 , CEF_COMPONENT_STATE_PATCHING = 5 , CEF_COMPONENT_STATE_UPDATING = 6 , CEF_COMPONENT_STATE_UPDATED = 7 ,
  CEF_COMPONENT_STATE_UP_TO_DATE = 8 , CEF_COMPONENT_STATE_UPDATE_ERROR = 9 , CEF_COMPONENT_STATE_RUN = 10
}
 Component state values. More...
 

Enumeration Type Documentation

◆ cef_component_state_t

Component state values.

These map to update_client::ComponentState values from components/update_client/update_client.h

A component is considered "installed" when its state is one of: CEF_COMPONENT_STATE_UPDATED, CEF_COMPONENT_STATE_UP_TO_DATE, or CEF_COMPONENT_STATE_RUN.

Enumerator
CEF_COMPONENT_STATE_NEW 

The component has not yet been checked for updates.

CEF_COMPONENT_STATE_CHECKING 

The component is being checked for updates now.

CEF_COMPONENT_STATE_CAN_UPDATE 

An update is available and will soon be processed.

CEF_COMPONENT_STATE_DOWNLOADING 

An update is being downloaded.

CEF_COMPONENT_STATE_DECOMPRESSING 

An update is being decompressed.

CEF_COMPONENT_STATE_PATCHING 

A patch is being applied.

CEF_COMPONENT_STATE_UPDATING 

An update is being installed.

CEF_COMPONENT_STATE_UPDATED 

An update was successfully applied.

The component is now installed.

CEF_COMPONENT_STATE_UP_TO_DATE 

The component was already up to date.

The component is installed.

CEF_COMPONENT_STATE_UPDATE_ERROR 

The service encountered an error during the update process.

CEF_COMPONENT_STATE_RUN 

The component is running a server-specified action.

The component is installed.

◆ cef_component_update_error_t

Component update error codes.

These map to update_client::Error values from components/update_client/update_client_errors.h

Enumerator
CEF_COMPONENT_UPDATE_ERROR_NONE 

No error.

CEF_COMPONENT_UPDATE_ERROR_UPDATE_IN_PROGRESS 

An update is already in progress for this component.

CEF_COMPONENT_UPDATE_ERROR_UPDATE_CANCELED 

The update was canceled.

CEF_COMPONENT_UPDATE_ERROR_RETRY_LATER 

The update should be retried later.

CEF_COMPONENT_UPDATE_ERROR_SERVICE_ERROR 

A service error occurred.

CEF_COMPONENT_UPDATE_ERROR_UPDATE_CHECK_ERROR 

An error occurred during the update check.

CEF_COMPONENT_UPDATE_ERROR_CRX_NOT_FOUND 

The component was not found.

CEF_COMPONENT_UPDATE_ERROR_INVALID_ARGUMENT 

An invalid argument was provided.

CEF_COMPONENT_UPDATE_ERROR_BAD_CRX_DATA_CALLBACK 

Bad CRX data callback.

◆ cef_component_update_priority_t

Component update priority.

Maps to component_updater::OnDemandUpdater::Priority.

Enumerator
CEF_COMPONENT_UPDATE_PRIORITY_BACKGROUND 

Background priority.

Update requests may be queued.

CEF_COMPONENT_UPDATE_PRIORITY_FOREGROUND 

Foreground priority.

Update requests are processed immediately.