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

Unified Diff: chrome/browser/prefs/chrome_pref_service_builder.h

Issue 11570009: Split PrefService into PrefService, PrefServiceSimple and PrefServiceSyncable. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to head again, previous had unrelated broken win_rel test. Created 8 years 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
« no previous file with comments | « chrome/browser/prefs/browser_prefs.cc ('k') | chrome/browser/prefs/chrome_pref_service_builder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/prefs/chrome_pref_service_builder.h
diff --git a/chrome/browser/prefs/chrome_pref_service_builder.h b/chrome/browser/prefs/chrome_pref_service_builder.h
deleted file mode 100644
index 4726466ba5182ec554b35862c06170c87cdf3e2a..0000000000000000000000000000000000000000
--- a/chrome/browser/prefs/chrome_pref_service_builder.h
+++ /dev/null
@@ -1,47 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_BROWSER_PREFS_CHROME_PREF_SERVICE_BUILDER_H_
-#define CHROME_BROWSER_PREFS_CHROME_PREF_SERVICE_BUILDER_H_
-
-#include "chrome/browser/prefs/pref_service_builder.h"
-
-namespace policy {
-class PolicyService;
-}
-
-class PrefStore;
-
-class ChromePrefServiceBuilder : public PrefServiceBuilder {
- public:
- ChromePrefServiceBuilder();
- virtual ~ChromePrefServiceBuilder();
-
- // Factory method that creates a new instance of a PrefService for
- // Chrome with the applicable PrefStores. The |pref_filename| points
- // to the user preference file. This is the usual way to create a
- // new PrefService.
- // |extension_pref_store| is used as the source for extension-controlled
- // preferences and may be NULL.
- // |policy_service| is used as the source for mandatory or recommended
- // policies.
- // If |async| is true, asynchronous version is used.
- // Notifies using PREF_INITIALIZATION_COMPLETED in the end. Details is set to
- // the created PrefService or NULL if creation has failed. Note, it is
- // guaranteed that in asynchronous version initialization happens after this
- // function returned.
- PrefService* CreateChromePrefs(
- const FilePath& pref_filename,
- base::SequencedTaskRunner* pref_io_task_runner,
- policy::PolicyService* policy_service,
- PrefStore* extension_prefs,
- bool async);
-
- private:
- void ResetDefaultState();
-
- DISALLOW_COPY_AND_ASSIGN(ChromePrefServiceBuilder);
-};
-
-#endif // CHROME_BROWSER_PREFS_CHROME_PREF_SERVICE_BUILDER_H_
« no previous file with comments | « chrome/browser/prefs/browser_prefs.cc ('k') | chrome/browser/prefs/chrome_pref_service_builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698