Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / plugins / plugin_prefs.h
index 3e56f7e..7a797c0 100644 (file)
@@ -15,7 +15,7 @@
 #include "base/prefs/pref_service.h"
 #include "base/synchronization/lock.h"
 #include "chrome/browser/plugins/plugin_finder.h"
-#include "components/keyed_service/content/refcounted_browser_context_keyed_service.h"
+#include "components/keyed_service/core/refcounted_keyed_service.h"
 
 class Profile;
 
@@ -30,7 +30,7 @@ struct WebPluginInfo;
 // This class stores information about whether a plug-in or a plug-in group is
 // enabled or disabled.
 // Except where otherwise noted, it can be used on every thread.
-class PluginPrefs : public RefcountedBrowserContextKeyedService {
+class PluginPrefs : public RefcountedKeyedService {
  public:
   enum PolicyStatus {
     NO_POLICY = 0,  // Neither enabled or disabled by policy.
@@ -75,7 +75,7 @@ class PluginPrefs : public RefcountedBrowserContextKeyedService {
   void set_profile(Profile* profile) { profile_ = profile; }
 
   // RefCountedProfileKeyedBase method override.
-  virtual void ShutdownOnUIThread() OVERRIDE;
+  void ShutdownOnUIThread() override;
 
  private:
   friend class base::RefCountedThreadSafe<PluginPrefs>;
@@ -100,7 +100,7 @@ class PluginPrefs : public RefcountedBrowserContextKeyedService {
     std::map<base::FilePath, bool> state_;
   };
 
-  virtual ~PluginPrefs();
+  ~PluginPrefs() override;
 
   // Called to update one of the policy_xyz patterns below when a
   // preference changes.