first pass at adding infra for registerDefaults

This commit is contained in:
Shelley Vohr 2017-12-10 00:45:49 -05:00
parent 6af18895c3
commit f82086e6d3
No known key found for this signature in database
GPG key ID: F13993A75599653C
2 changed files with 19 additions and 0 deletions

View file

@ -73,6 +73,7 @@ class SystemPreferences : public mate::EventEmitter<SystemPreferences>
void UnsubscribeLocalNotification(int request_id);
v8::Local<v8::Value> GetUserDefault(const std::string& name,
const std::string& type);
void registerDefaults(const base::DictionaryValue& defaults);
void SetUserDefault(const std::string& name,
const std::string& type,
mate::Arguments* args);