This reverts commit 66d6ba8689
.
This commit is contained in:
parent
66d6ba8689
commit
1b7418fb7b
9 changed files with 43 additions and 100 deletions
|
@ -66,15 +66,11 @@ class WebContentsPreferences
|
|||
friend class content::WebContentsUserData<WebContentsPreferences>;
|
||||
friend class AtomBrowserClient;
|
||||
|
||||
enum class Status { Deprecated, Stable };
|
||||
|
||||
// Get WebContents according to process ID.
|
||||
static content::WebContents* GetWebContentsFromProcessID(int process_id);
|
||||
|
||||
// Set preference value to given bool if user did not provide value
|
||||
bool SetDefaultBoolIfUndefined(const base::StringPiece& key,
|
||||
bool val,
|
||||
Status status = Status::Stable);
|
||||
bool SetDefaultBoolIfUndefined(const base::StringPiece& key, bool val);
|
||||
|
||||
static std::vector<WebContentsPreferences*> instances_;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue