From 45644f6cc27340a43cddec94054c0c90ef65b7c9 Mon Sep 17 00:00:00 2001 From: "jam@chromium.org" Date: Wed, 23 Nov 2011 00:58:23 +0000 Subject: Move PropertyBag to base. Originally this was in chrome\common because only chrome used it. Now that chrome and content use it, and that we want to only expose interface through the content API, this belongs in base. BUG=98716 Review URL: http://codereview.chromium.org/8652002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111266 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/ui/webui/constrained_html_ui.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'chrome/browser/ui/webui/constrained_html_ui.cc') diff --git a/chrome/browser/ui/webui/constrained_html_ui.cc b/chrome/browser/ui/webui/constrained_html_ui.cc index c0a5b84..6549242 100644 --- a/chrome/browser/ui/webui/constrained_html_ui.cc +++ b/chrome/browser/ui/webui/constrained_html_ui.cc @@ -10,6 +10,7 @@ #include "base/bind.h" #include "base/bind_helpers.h" #include "base/lazy_instance.h" +#include "base/property_bag.h" #include "base/values.h" #include "chrome/browser/ui/webui/html_dialog_ui.h" #include "chrome/common/chrome_notification_types.h" @@ -17,7 +18,7 @@ #include "content/browser/tab_contents/tab_contents.h" #include "content/public/browser/notification_service.h" -static base::LazyInstance > +static base::LazyInstance > g_constrained_html_ui_property_accessor = LAZY_INSTANCE_INITIALIZER; ConstrainedHtmlUI::ConstrainedHtmlUI(TabContents* contents) @@ -73,7 +74,7 @@ ConstrainedHtmlUIDelegate* ConstrainedHtmlUI::GetConstrainedDelegate() { } // static -PropertyAccessor& +base::PropertyAccessor& ConstrainedHtmlUI::GetPropertyAccessor() { return g_constrained_html_ui_property_accessor.Get(); } -- cgit v1.1