Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(370)

Unified Diff: ios/chrome/browser/prefs/ios_chrome_pref_service_factory.h

Issue 1456783004: Remove configuration policy on iOS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Clean up gyp and DEPS Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
« no previous file with comments | « ios/chrome/browser/prefs/browser_prefs.mm ('k') | ios/chrome/browser/prefs/ios_chrome_pref_service_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698