Index: ios/chrome/browser/prefs/ios_chrome_pref_service_factory.h |
diff --git a/ios/chrome/browser/prefs/ios_chrome_pref_service_factory.h b/ios/chrome/browser/prefs/ios_chrome_pref_service_factory.h |
index 5168d294b977e11e83efcf9f3a39905f0ba578f3..5971ab21269ae64a7d113065de41303366abebe7 100644 |
--- a/ios/chrome/browser/prefs/ios_chrome_pref_service_factory.h |
+++ b/ios/chrome/browser/prefs/ios_chrome_pref_service_factory.h |
@@ -22,10 +22,6 @@ namespace ios { |
class ChromeBrowserState; |
} |
-namespace policy { |
-class PolicyService; |
-} |
- |
namespace syncable_prefs { |
class PrefServiceSyncable; |
} |
@@ -37,13 +33,11 @@ class PrefRegistrySyncable; |
// Factory methods that create and initialize a new instance of a PrefService |
// for Chrome on iOS with the applicable PrefStores. The |pref_filename| points |
// to the user preference file. This is the usual way to create a new |
-// PrefService. |policy_service| is used as the source for mandatory or |
-// recommended policies. |pref_registry| keeps the list of registered prefs and |
-// their default valuers. If |async| is true, asynchronous version is used. |
+// PrefService. |pref_registry| keeps the list of registered prefs and their |
+// default valuers. If |async| is true, asynchronous version is used. |
scoped_ptr<PrefService> CreateLocalState( |
const base::FilePath& pref_filename, |
base::SequencedTaskRunner* pref_io_task_runner, |
- policy::PolicyService* policy_service, |
const scoped_refptr<PrefRegistry>& pref_registry, |
bool async); |
@@ -51,7 +45,6 @@ scoped_ptr<syncable_prefs::PrefServiceSyncable> CreateBrowserStatePrefs( |
const base::FilePath& browser_state_path, |
base::SequencedTaskRunner* pref_io_task_runner, |
TrackedPreferenceValidationDelegate* validation_delegate, |
- policy::PolicyService* policy_service, |
const scoped_refptr<user_prefs::PrefRegistrySyncable>& pref_registry, |
bool async); |