diff options
Diffstat (limited to 'chrome/browser/geolocation/geolocation_content_settings_map_unittest.cc')
-rw-r--r-- | chrome/browser/geolocation/geolocation_content_settings_map_unittest.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/chrome/browser/geolocation/geolocation_content_settings_map_unittest.cc b/chrome/browser/geolocation/geolocation_content_settings_map_unittest.cc index defba3a..ae6cbaf 100644 --- a/chrome/browser/geolocation/geolocation_content_settings_map_unittest.cc +++ b/chrome/browser/geolocation/geolocation_content_settings_map_unittest.cc @@ -4,6 +4,7 @@ #include "chrome/browser/geolocation/geolocation_content_settings_map.h" +#include "chrome/browser/prefs/pref_service.h" #include "chrome/common/pref_names.h" #include "chrome/test/testing_profile.h" #include "testing/gtest/include/gtest/gtest.h" @@ -212,11 +213,11 @@ TEST_F(GeolocationContentSettingsMapTests, IgnoreInvalidURLsInPrefs) { prefs::kGeolocationContentSettings); // For simplicity, use the overloads that do path expansion. As '.' is the // path separator, we can't have dotted hostnames (which is fine). - all_settings_dictionary->SetInteger(L"http://a/.http://b/", + all_settings_dictionary->SetInteger("http://a/.http://b/", CONTENT_SETTING_ALLOW); - all_settings_dictionary->SetInteger(L"bad_requester.http://b/", + all_settings_dictionary->SetInteger("bad_requester.http://b/", CONTENT_SETTING_ALLOW); - all_settings_dictionary->SetInteger(L"http://a/.bad-embedder", + all_settings_dictionary->SetInteger("http://a/.bad-embedder", CONTENT_SETTING_ALLOW); GeolocationContentSettingsMap* map = |