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

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

Issue 64193003: Clean up PrefServiceBuilder (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix memory ownership bug in ProxyPolicyTest Created 7 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
« no previous file with comments | « chrome/browser/prefs/pref_service_syncable.h ('k') | chrome/browser/prefs/pref_service_syncable_builder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/prefs/pref_service_syncable_builder.h
diff --git a/chrome/browser/prefs/pref_service_syncable_builder.h b/chrome/browser/prefs/pref_service_syncable_builder.h
deleted file mode 100644
index df0e53d0a7bf289c042ee37894b4f4f7279966b6..0000000000000000000000000000000000000000
--- a/chrome/browser/prefs/pref_service_syncable_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_PREF_SERVICE_SYNCABLE_BUILDER_H_
-#define CHROME_BROWSER_PREFS_PREF_SERVICE_SYNCABLE_BUILDER_H_
-
-#include "base/prefs/pref_service_builder.h"
-
-class CommandLine;
-class PrefServiceSyncable;
-
-namespace policy {
-class PolicyService;
-}
-
-namespace user_prefs {
-class PrefRegistrySyncable;
-}
-
-// A PrefServiceBuilder that also knows how to build a
-// PrefServiceSyncable, and may know about Chrome concepts such as
-// PolicyService.
-class PrefServiceSyncableBuilder : public PrefServiceBuilder {
- public:
- PrefServiceSyncableBuilder();
- virtual ~PrefServiceSyncableBuilder();
-
-#if defined(ENABLE_CONFIGURATION_POLICY)
- // Set up policy pref stores using the given policy service.
- PrefServiceSyncableBuilder& WithManagedPolicies(
- policy::PolicyService* service);
- PrefServiceSyncableBuilder& WithRecommendedPolicies(
- policy::PolicyService* service);
-#endif
-
- // Specifies to use an actual command-line backed command-line pref store.
- PrefServiceSyncableBuilder& WithCommandLine(CommandLine* command_line);
-
- virtual PrefServiceSyncable* CreateSyncable(
- user_prefs::PrefRegistrySyncable* registry);
-
- private:
- DISALLOW_COPY_AND_ASSIGN(PrefServiceSyncableBuilder);
-};
-
-#endif // CHROME_BROWSER_PREFS_PREF_SERVICE_SYNCABLE_BUILDER_H_
« no previous file with comments | « chrome/browser/prefs/pref_service_syncable.h ('k') | chrome/browser/prefs/pref_service_syncable_builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698