diff options
Diffstat (limited to 'chrome/common/pref_service.h')
-rw-r--r-- | chrome/common/pref_service.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/chrome/common/pref_service.h b/chrome/common/pref_service.h index 0a7690c..f5377d2 100644 --- a/chrome/common/pref_service.h +++ b/chrome/common/pref_service.h @@ -156,6 +156,13 @@ class PrefService : public NonThreadSafe { void SetString(const wchar_t* path, const std::wstring& value); void SetFilePath(const wchar_t* path, const FilePath& value); + // Int64 helper methods that actually store the given value as a string. + // Note that if obtaining the named value via GetDictionary or GetList, the + // Value type will be TYPE_STRING. + void SetInt64(const wchar_t* path, int64 value); + int64 GetInt64(const wchar_t* path) const; + void RegisterInt64Pref(const wchar_t* path, int64 default_value); + // Used to set the value of dictionary or list values in the pref tree. This // will create a dictionary or list if one does not exist in the pref tree. // This method returns NULL only if you're requesting an unregistered pref or |