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

Unified Diff: chrome/browser/plugin_updater.h

Issue 7259019: Move base/values.h into the base namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 months 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: chrome/browser/plugin_updater.h
===================================================================
--- chrome/browser/plugin_updater.h (revision 92173)
+++ chrome/browser/plugin_updater.h (working copy)
@@ -15,12 +15,15 @@
#include "chrome/browser/prefs/pref_change_registrar.h"
#include "content/common/notification_observer.h"
-class DictionaryValue;
-class ListValue;
class NotificationDetails;
class NotificationSource;
class Profile;
+namespace base {
+class DictionaryValue;
+class ListValue;
+}
+
namespace webkit {
namespace npapi {
class PluginGroup;
@@ -32,7 +35,7 @@
public:
// Get a list of all the plugin groups. The caller should take ownership
// of the returned ListValue.
- static ListValue* GetPluginGroupsData();
+ static base::ListValue* GetPluginGroupsData();
// Enable or disable a plugin group.
void EnablePluginGroup(bool enable, const string16& group_name);
@@ -80,18 +83,19 @@
// Used for the post task to notify that plugin enabled status changed.
static void OnNotifyPluginStatusChanged();
- static DictionaryValue* CreatePluginFileSummary(
+ static base::DictionaryValue* CreatePluginFileSummary(
const webkit::npapi::WebPluginInfo& plugin);
// Force plugins to be enabled or disabled due to policy.
// |disabled_list| contains the list of StringValues of the names of the
// policy-disabled plugins, |exceptions_list| the policy-allowed plugins,
// and |enabled_list| the policy-enabled plugins.
- void UpdatePluginsStateFromPolicy(const ListValue* disabled_list,
- const ListValue* exceptions_list,
- const ListValue* enabled_list);
+ void UpdatePluginsStateFromPolicy(const base::ListValue* disabled_list,
+ const base::ListValue* exceptions_list,
+ const base::ListValue* enabled_list);
- void ListValueToStringSet(const ListValue* src, std::set<string16>* dest);
+ void ListValueToStringSet(const base::ListValue* src,
+ std::set<string16>* dest);
// Needed to allow singleton instantiation using private constructor.
friend struct DefaultSingletonTraits<PluginUpdater>;
« no previous file with comments | « chrome/browser/notifications/notifications_prefs_cache.h ('k') | chrome/browser/policy/configuration_policy_store_interface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698