Chromium Embedded Framework (CEF) 148.0.4+ga59e378+chromium-148.0.7778.40
CefComponent Class Referenceabstract

Class representing a snapshot of a component's state at the time of retrieval. More...

#include "include/cef_component_updater.h"

Inheritance diagram for CefComponent:
CefBaseRefCounted

Public Member Functions

virtual CefString GetID ()=0
 Returns the unique identifier for this component.
 
virtual CefString GetName ()=0
 Returns the human-readable name of this component.
 
virtual CefString GetVersion ()=0
 Returns the version of this component as a string (e.g., "1.2.3.4").
 
virtual cef_component_state_t GetState ()=0
 Returns the state of this component at the time this object was created.
 
- Public Member Functions inherited from CefBaseRefCounted
virtual void AddRef () const =0
 Called to increment the reference count for the object.
 
virtual bool Release () const =0
 Called to decrement the reference count for the object.
 
virtual bool HasOneRef () const =0
 Returns true if the reference count is 1.
 
virtual bool HasAtLeastOneRef () const =0
 Returns true if the reference count is at least 1.
 

Additional Inherited Members

- Protected Member Functions inherited from CefBaseRefCounted
virtual ~CefBaseRefCounted ()
 

Detailed Description

Class representing a snapshot of a component's state at the time of retrieval.

To get updated information, retrieve a new CefComponent object via CefComponentUpdater::GetComponentByID or GetComponents. The methods of this class may be called on any thread.

Member Function Documentation

◆ GetID()

virtual CefString CefComponent::GetID ( )
pure virtual

Returns the unique identifier for this component.

◆ GetName()

virtual CefString CefComponent::GetName ( )
pure virtual

Returns the human-readable name of this component.

Returns an empty string if the component is not installed.

◆ GetState()

virtual cef_component_state_t CefComponent::GetState ( )
pure virtual

Returns the state of this component at the time this object was created.

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.

◆ GetVersion()

virtual CefString CefComponent::GetVersion ( )
pure virtual

Returns the version of this component as a string (e.g., "1.2.3.4").

Returns an empty string if the component is not installed.


The documentation for this class was generated from the following file: