The app profile that holds user data such as navigation history, proxy settings, spell checker configurations, cookies, etc.
More...
#include <profile.hpp>
|
virtual std::shared_ptr< App > | app ()=0 |
| Returns the application instance for this profile.
|
|
virtual std::string | name ()=0 |
| Returns the name of this profile.
|
|
virtual std::string | path ()=0 |
| Returns an absolute path to the folder where this profile stores its data.
|
|
virtual bool | isIncognito ()=0 |
| Checks if this profile is an incognito profile.
|
|
virtual bool | isDefault ()=0 |
| Checks if this profile is the default profile.
|
|
virtual std::vector< std::shared_ptr< Browser > > | browsers ()=0 |
| Returns all alive browsers in this profile including child popup browsers or an empty set if this profile does not have any alive browsers.
|
|
virtual std::vector< std::shared_ptr< Download > > | downloads ()=0 |
| Returns all downloads in this profile, both active and completed.
|
|
virtual std::shared_ptr< ProfilePrefs > | prefs ()=0 |
| Returns the preferences for this profile.
|
|
virtual std::shared_ptr< Network > | network ()=0 |
| Returns a service that allows working with network.
|
|
virtual std::shared_ptr< Proxy > | proxy ()=0 |
| Returns a service that allows working with proxy configurations.
|
|
virtual std::shared_ptr< CreditCards > | creditCards ()=0 |
| Returns the credit card store.
|
|
virtual std::shared_ptr< Cookies > | cookies ()=0 |
| Returns the cookie store that allows managing cookies.
|
|
virtual std::shared_ptr< Passwords > | passwords ()=0 |
| Returns the password store.
|
|
virtual std::shared_ptr< Permissions > | permissions ()=0 |
| Returns the permissions manager.
|
|
virtual std::shared_ptr< UserProfiles > | userProfiles ()=0 |
| Returns the user profile store.
|
|
virtual std::shared_ptr< HttpCache > | httpCache ()=0 |
| Returns the HTTP cache.
|
|
virtual std::shared_ptr< HttpAuthCache > | httpAuthCache ()=0 |
| Returns the HTTP authentication cache.
|
|
virtual std::shared_ptr< SpellChecker > | spellChecker ()=0 |
| Returns a service that allows working with spell checking functionality.
|
|
|
static std::shared_ptr< Profile > | create (std::shared_ptr< App > app, const std::string &name) |
| Creates a new profile with the given name.
|
|
static std::shared_ptr< Profile > | createIncognito (std::shared_ptr< App > app, const std::string &name) |
| Creates a new incognito profile with the given name.
|
|
The app profile that holds user data such as navigation history, proxy settings, spell checker configurations, cookies, etc.
◆ create()
static std::shared_ptr< Profile > molybden::Profile::create |
( |
std::shared_ptr< App > |
app, |
|
|
const std::string & |
name |
|
) |
| |
|
static |
Creates a new profile with the given name.
- Parameters
-
app | the app instance of the new profile. |
name | the profile name. Cannot be empty or blank. |
◆ createIncognito()
static std::shared_ptr< Profile > molybden::Profile::createIncognito |
( |
std::shared_ptr< App > |
app, |
|
|
const std::string & |
name |
|
) |
| |
|
static |
Creates a new incognito profile with the given name.
Incognito profile allows browsing the web without leaving a trace on the computer. It doesn't save browsing history, cookies, or form data, providing a temporary session where the online activities are not stored locally. It doesn't make the activity completely anonymous or prevent websites and internet service providers from tracking it.
- Parameters
-
app | the app instance of the new profile. |
name | the profile name. Cannot be empty or blank. |
The documentation for this class was generated from the following file: