summaryrefslogtreecommitdiffstats
path: root/chrome/test/testing_pref_service.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/test/testing_pref_service.h')
-rw-r--r--chrome/test/testing_pref_service.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/chrome/test/testing_pref_service.h b/chrome/test/testing_pref_service.h
index d407ad2..b719c91 100644
--- a/chrome/test/testing_pref_service.h
+++ b/chrome/test/testing_pref_service.h
@@ -30,31 +30,31 @@ class TestingPrefService : public PrefService {
// Read the value of a preference from the managed layer. Returns NULL if the
// preference is not defined at the managed layer.
- const Value* GetManagedPref(const wchar_t* path);
+ const Value* GetManagedPref(const char* path);
// Set a preference on the managed layer and fire observers if the preference
// changed. Assumes ownership of |value|.
- void SetManagedPref(const wchar_t* path, Value* value);
+ void SetManagedPref(const char* path, Value* value);
// Clear the preference on the managed layer and fire observers if the
// preference has been defined previously.
- void RemoveManagedPref(const wchar_t* path);
+ void RemoveManagedPref(const char* path);
// Similar to the above, but for user preferences.
- const Value* GetUserPref(const wchar_t* path);
- void SetUserPref(const wchar_t* path, Value* value);
- void RemoveUserPref(const wchar_t* path);
+ const Value* GetUserPref(const char* path);
+ void SetUserPref(const char* path, Value* value);
+ void RemoveUserPref(const char* path);
private:
// Reads the value of the preference indicated by |path| from |pref_store|.
// Returns NULL if the preference was not found.
- const Value* GetPref(PrefStore* pref_store, const wchar_t* path);
+ const Value* GetPref(PrefStore* pref_store, const char* path);
// Sets the value for |path| in |pref_store|.
- void SetPref(PrefStore* pref_store, const wchar_t* path, Value* value);
+ void SetPref(PrefStore* pref_store, const char* path, Value* value);
// Removes the preference identified by |path| from |pref_store|.
- void RemovePref(PrefStore* pref_store, const wchar_t* path);
+ void RemovePref(PrefStore* pref_store, const char* path);
// Pointers to the pref stores our value store uses.
PrefStore* managed_prefs_;