diff options
author | brettw <brettw@chromium.org> | 2016-02-03 00:22:02 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-02-03 08:23:19 +0000 |
commit | 066508682fd2bcf566f83c39169df4b949ccf09a (patch) | |
tree | d4bb15e5eac7ed880afbf380fe9786e1d7434bca /base | |
parent | f531e094ae328f316e7ad3a08a4ce32f5b087e6b (diff) | |
download | chromium_src-066508682fd2bcf566f83c39169df4b949ccf09a.zip chromium_src-066508682fd2bcf566f83c39169df4b949ccf09a.tar.gz chromium_src-066508682fd2bcf566f83c39169df4b949ccf09a.tar.bz2 |
Delete base/prefs and update callers to use components.
Deletes the forwarding headers in base/prefs.
Updates the remaining users of base/prefs includes to use components/prefs.
Sort headers in updated files.
Move PrefServiceFactory out of the base namespace. Update users.
Update all preprocessor stuff in components/prefs to change BASE_PREFS_ to
COMPONENTS_PREFS_.
Add components/prefs to DEPS file of directories where checkdeps fails after
the update.
BUG=583034
Reland of http://crrev.com/1662523004#ps40001 with fix.
TBR=estade@chromium.org
Review URL: https://codereview.chromium.org/1668463002
Cr-Commit-Position: refs/heads/master@{#373197}
Diffstat (limited to 'base')
26 files changed, 0 insertions, 179 deletions
diff --git a/base/prefs/DEPS b/base/prefs/DEPS deleted file mode 100644 index 2edd44e..0000000 --- a/base/prefs/DEPS +++ /dev/null @@ -1,4 +0,0 @@ -# TODO(brettw) remove this when prefs is completely moved to components. -include_rules = [ - "+components/prefs", -] diff --git a/base/prefs/base_prefs_export.h b/base/prefs/base_prefs_export.h deleted file mode 100644 index 477e1aa..0000000 --- a/base/prefs/base_prefs_export.h +++ /dev/null @@ -1,7 +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. - -// TODO(brettw) remove this forwarding header when prefs is completely moved to -// components. -#include "components/prefs/base_prefs_export.h" diff --git a/base/prefs/default_pref_store.h b/base/prefs/default_pref_store.h deleted file mode 100644 index e590bf8..0000000 --- a/base/prefs/default_pref_store.h +++ /dev/null @@ -1,7 +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. - -// TODO(brettw) remove this forwarding header when prefs is completely moved to -// components. -#include "components/prefs/default_pref_store.h" diff --git a/base/prefs/json_pref_store.h b/base/prefs/json_pref_store.h deleted file mode 100644 index 247102f..0000000 --- a/base/prefs/json_pref_store.h +++ /dev/null @@ -1,7 +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. - -// TODO(brettw) remove this forwarding header when prefs is completely moved to -// components. -#include "components/prefs/json_pref_store.h" diff --git a/base/prefs/mock_pref_change_callback.h b/base/prefs/mock_pref_change_callback.h deleted file mode 100644 index 90ad294..0000000 --- a/base/prefs/mock_pref_change_callback.h +++ /dev/null @@ -1,7 +0,0 @@ -// Copyright (c) 2011 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. - -// TODO(brettw) remove this forwarding header when prefs is completely moved to -// components. -#include "components/prefs/mock_pref_change_callback.h" diff --git a/base/prefs/overlay_user_pref_store.h b/base/prefs/overlay_user_pref_store.h deleted file mode 100644 index 594c501..0000000 --- a/base/prefs/overlay_user_pref_store.h +++ /dev/null @@ -1,7 +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. - -// TODO(brettw) remove this forwarding header when prefs is completely moved to -// components. -#include "components/prefs/overlay_user_pref_store.h" diff --git a/base/prefs/persistent_pref_store.h b/base/prefs/persistent_pref_store.h deleted file mode 100644 index a0fcf68..0000000 --- a/base/prefs/persistent_pref_store.h +++ /dev/null @@ -1,7 +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. - -// TODO(brettw) remove this forwarding header when prefs is completely moved to -// components. -#include "components/prefs/persistent_pref_store.h" diff --git a/base/prefs/pref_change_registrar.h b/base/prefs/pref_change_registrar.h deleted file mode 100644 index 517b63f..0000000 --- a/base/prefs/pref_change_registrar.h +++ /dev/null @@ -1,7 +0,0 @@ -// Copyright (c) 2010 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. - -// TODO(brettw) remove this forwarding header when prefs is completely moved to -// components. -#include "components/prefs/pref_change_registrar.h" diff --git a/base/prefs/pref_filter.h b/base/prefs/pref_filter.h deleted file mode 100644 index 6ed06bc..0000000 --- a/base/prefs/pref_filter.h +++ /dev/null @@ -1,7 +0,0 @@ -// Copyright 2013 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. - -// TODO(brettw) remove this forwarding header when prefs is completely moved to -// components. -#include "components/prefs/pref_filter.h" diff --git a/base/prefs/pref_member.h b/base/prefs/pref_member.h deleted file mode 100644 index ff90e5e..0000000 --- a/base/prefs/pref_member.h +++ /dev/null @@ -1,7 +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. - -// TODO(brettw) remove this forwarding header when prefs is completely moved to -// components. -#include "components/prefs/pref_member.h" diff --git a/base/prefs/pref_notifier.h b/base/prefs/pref_notifier.h deleted file mode 100644 index d99f5b8..0000000 --- a/base/prefs/pref_notifier.h +++ /dev/null @@ -1,7 +0,0 @@ -// Copyright (c) 2011 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. - -// TODO(brettw) remove this forwarding header when prefs is completely moved to -// components. -#include "components/prefs/pref_notifier.h" diff --git a/base/prefs/pref_notifier_impl.h b/base/prefs/pref_notifier_impl.h deleted file mode 100644 index f47cc3e..0000000 --- a/base/prefs/pref_notifier_impl.h +++ /dev/null @@ -1,7 +0,0 @@ -// Copyright (c) 2011 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. - -// TODO(brettw) remove this forwarding header when prefs is completely moved to -// components. -#include "components/prefs/pref_notifier_impl.h" diff --git a/base/prefs/pref_observer.h b/base/prefs/pref_observer.h deleted file mode 100644 index df5d1af..0000000 --- a/base/prefs/pref_observer.h +++ /dev/null @@ -1,7 +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. - -// TODO(brettw) remove this forwarding header when prefs is completely moved to -// components. -#include "components/prefs/pref_observer.h" diff --git a/base/prefs/pref_registry.h b/base/prefs/pref_registry.h deleted file mode 100644 index 94126d1..0000000 --- a/base/prefs/pref_registry.h +++ /dev/null @@ -1,7 +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. - -// TODO(brettw) remove this forwarding header when prefs is completely moved to -// components. -#include "components/prefs/pref_registry.h" diff --git a/base/prefs/pref_registry_simple.h b/base/prefs/pref_registry_simple.h deleted file mode 100644 index 0f157a2..0000000 --- a/base/prefs/pref_registry_simple.h +++ /dev/null @@ -1,7 +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. - -// TODO(brettw) remove this forwarding header when prefs is completely moved to -// components. -#include "components/prefs/pref_registry_simple.h" diff --git a/base/prefs/pref_service.h b/base/prefs/pref_service.h deleted file mode 100644 index aced2f0..0000000 --- a/base/prefs/pref_service.h +++ /dev/null @@ -1,7 +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. - -// TODO(brettw) remove this forwarding header when prefs is completely moved to -// components. -#include "components/prefs/pref_service.h" diff --git a/base/prefs/pref_service_factory.h b/base/prefs/pref_service_factory.h deleted file mode 100644 index 3bc4932..0000000 --- a/base/prefs/pref_service_factory.h +++ /dev/null @@ -1,7 +0,0 @@ -// Copyright 2013 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. - -// TODO(brettw) remove this forwarding header when prefs is completely moved to -// components. -#include "components/prefs/pref_service_factory.h" diff --git a/base/prefs/pref_store.h b/base/prefs/pref_store.h deleted file mode 100644 index c1c6583..0000000 --- a/base/prefs/pref_store.h +++ /dev/null @@ -1,7 +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. - -// TODO(brettw) remove this forwarding header when prefs is completely moved to -// components. -#include "components/prefs/pref_store.h" diff --git a/base/prefs/pref_store_observer_mock.h b/base/prefs/pref_store_observer_mock.h deleted file mode 100644 index be8e4d5..0000000 --- a/base/prefs/pref_store_observer_mock.h +++ /dev/null @@ -1,7 +0,0 @@ -// Copyright (c) 2011 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. - -// TODO(brettw) remove this forwarding header when prefs is completely moved to -// components. -#include "components/prefs/pref_store_observer_mock.h" diff --git a/base/prefs/pref_value_map.h b/base/prefs/pref_value_map.h deleted file mode 100644 index e1ec94a..0000000 --- a/base/prefs/pref_value_map.h +++ /dev/null @@ -1,7 +0,0 @@ -// Copyright (c) 2011 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. - -// TODO(brettw) remove this forwarding header when prefs is completely moved to -// components. -#include "components/prefs/pref_value_map.h" diff --git a/base/prefs/pref_value_store.h b/base/prefs/pref_value_store.h deleted file mode 100644 index de10c56..0000000 --- a/base/prefs/pref_value_store.h +++ /dev/null @@ -1,7 +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. - -// TODO(brettw) remove this forwarding header when prefs is completely moved to -// components. -#include "components/prefs/pref_value_store.h" diff --git a/base/prefs/scoped_user_pref_update.h b/base/prefs/scoped_user_pref_update.h deleted file mode 100644 index ce03c6a..0000000 --- a/base/prefs/scoped_user_pref_update.h +++ /dev/null @@ -1,7 +0,0 @@ -// Copyright 2013 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. - -// TODO(brettw) remove this forwarding header when prefs is completely moved to -// components. -#include "components/prefs/scoped_user_pref_update.h" diff --git a/base/prefs/testing_pref_service.h b/base/prefs/testing_pref_service.h deleted file mode 100644 index c60b89e..0000000 --- a/base/prefs/testing_pref_service.h +++ /dev/null @@ -1,7 +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. - -// TODO(brettw) remove this forwarding header when prefs is completely moved to -// components. -#include "components/prefs/testing_pref_service.h" diff --git a/base/prefs/testing_pref_store.h b/base/prefs/testing_pref_store.h deleted file mode 100644 index 297aa11..0000000 --- a/base/prefs/testing_pref_store.h +++ /dev/null @@ -1,7 +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. - -// TODO(brettw) remove this forwarding header when prefs is completely moved to -// components. -#include "components/prefs/testing_pref_store.h" diff --git a/base/prefs/value_map_pref_store.h b/base/prefs/value_map_pref_store.h deleted file mode 100644 index 4373ff7..0000000 --- a/base/prefs/value_map_pref_store.h +++ /dev/null @@ -1,7 +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. - -// TODO(brettw) remove this forwarding header when prefs is completely moved to -// components. -#include "components/prefs/value_map_pref_store.h" diff --git a/base/prefs/writeable_pref_store.h b/base/prefs/writeable_pref_store.h deleted file mode 100644 index 69bd2cb..0000000 --- a/base/prefs/writeable_pref_store.h +++ /dev/null @@ -1,7 +0,0 @@ -// Copyright 2014 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. - -// TODO(brettw) remove this forwarding header when prefs is completely moved to -// components. -#include "components/prefs/writeable_pref_store.h" |