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

Side by Side Diff: chrome/browser/plugin_prefs.h

Issue 10918174: Remove PluginGroup (Closed) Base URL: http://git.chromium.org/chromium/src.git@remove_async_plugin_finder
Patch Set: Created 8 years, 3 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_PLUGIN_PREFS_H_ 5 #ifndef CHROME_BROWSER_PLUGIN_PREFS_H_
6 #define CHROME_BROWSER_PLUGIN_PREFS_H_ 6 #define CHROME_BROWSER_PLUGIN_PREFS_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/basictypes.h" 12 #include "base/basictypes.h"
13 #include "base/file_path.h" 13 #include "base/file_path.h"
14 #include "base/synchronization/lock.h" 14 #include "base/synchronization/lock.h"
15 #include "chrome/browser/api/prefs/pref_change_registrar.h" 15 #include "chrome/browser/api/prefs/pref_change_registrar.h"
16 #include "chrome/browser/plugin_finder.h" 16 #include "chrome/browser/plugin_finder.h"
17 #include "chrome/browser/prefs/pref_service.h" 17 #include "chrome/browser/prefs/pref_service.h"
18 #include "chrome/browser/profiles/refcounted_profile_keyed_service.h" 18 #include "chrome/browser/profiles/refcounted_profile_keyed_service.h"
19 #include "content/public/browser/notification_observer.h" 19 #include "content/public/browser/notification_observer.h"
20 20
21 class Profile; 21 class Profile;
22 22
23 namespace base { 23 namespace base {
24 class ListValue; 24 class ListValue;
25 } 25 }
26 26
27 namespace webkit { 27 namespace webkit {
28 struct WebPluginInfo; 28 struct WebPluginInfo;
29 namespace npapi { 29 namespace npapi {
30 class PluginGroup;
31 class PluginList; 30 class PluginList;
32 } 31 }
33 } 32 }
34 33
35 // This class stores information about whether a plug-in or a plug-in group is 34 // This class stores information about whether a plug-in or a plug-in group is
36 // enabled or disabled. 35 // enabled or disabled.
37 // Except where otherwise noted, it can be used on every thread. 36 // Except where otherwise noted, it can be used on every thread.
38 class PluginPrefs : public RefcountedProfileKeyedService, 37 class PluginPrefs : public RefcountedProfileKeyedService,
39 public content::NotificationObserver { 38 public content::NotificationObserver {
40 public: 39 public:
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 // PluginList to use for testing. If this is NULL, defaults to the global 175 // PluginList to use for testing. If this is NULL, defaults to the global
177 // singleton. 176 // singleton.
178 webkit::npapi::PluginList* plugin_list_; 177 webkit::npapi::PluginList* plugin_list_;
179 178
180 PrefChangeRegistrar registrar_; 179 PrefChangeRegistrar registrar_;
181 180
182 DISALLOW_COPY_AND_ASSIGN(PluginPrefs); 181 DISALLOW_COPY_AND_ASSIGN(PluginPrefs);
183 }; 182 };
184 183
185 #endif // CHROME_BROWSER_PLUGIN_PREFS_H_ 184 #endif // CHROME_BROWSER_PLUGIN_PREFS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698