| OLD | NEW |
| 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_PLUGINS_CHROME_PLUGIN_SERVICE_FILTER_H_ | 5 #ifndef CHROME_BROWSER_PLUGINS_CHROME_PLUGIN_SERVICE_FILTER_H_ |
| 6 #define CHROME_BROWSER_PLUGINS_CHROME_PLUGIN_SERVICE_FILTER_H_ | 6 #define CHROME_BROWSER_PLUGINS_CHROME_PLUGIN_SERVICE_FILTER_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/containers/hash_tables.h" |
| 12 #include "base/files/file_path.h" | 13 #include "base/files/file_path.h" |
| 13 #include "base/hash_tables.h" | |
| 14 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
| 15 #include "base/memory/singleton.h" | 15 #include "base/memory/singleton.h" |
| 16 #include "base/synchronization/lock.h" | 16 #include "base/synchronization/lock.h" |
| 17 #include "content/public/browser/notification_observer.h" | 17 #include "content/public/browser/notification_observer.h" |
| 18 #include "content/public/browser/notification_registrar.h" | 18 #include "content/public/browser/notification_registrar.h" |
| 19 #include "content/public/browser/plugin_service_filter.h" | 19 #include "content/public/browser/plugin_service_filter.h" |
| 20 #include "googleurl/src/gurl.h" | 20 #include "googleurl/src/gurl.h" |
| 21 #include "webkit/plugins/webplugininfo.h" | 21 #include "webkit/plugins/webplugininfo.h" |
| 22 | 22 |
| 23 class PluginPrefs; | 23 class PluginPrefs; |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 typedef base::hash_map<base::FilePath, | 112 typedef base::hash_map<base::FilePath, |
| 113 RestrictedPluginPair> RestrictedPluginMap; | 113 RestrictedPluginPair> RestrictedPluginMap; |
| 114 RestrictedPluginMap restricted_plugins_; | 114 RestrictedPluginMap restricted_plugins_; |
| 115 typedef std::map<const void*, scoped_refptr<PluginPrefs> > ResourceContextMap; | 115 typedef std::map<const void*, scoped_refptr<PluginPrefs> > ResourceContextMap; |
| 116 ResourceContextMap resource_context_map_; | 116 ResourceContextMap resource_context_map_; |
| 117 | 117 |
| 118 std::map<int, ProcessDetails> plugin_details_; | 118 std::map<int, ProcessDetails> plugin_details_; |
| 119 }; | 119 }; |
| 120 | 120 |
| 121 #endif // CHROME_BROWSER_PLUGINS_CHROME_PLUGIN_SERVICE_FILTER_H_ | 121 #endif // CHROME_BROWSER_PLUGINS_CHROME_PLUGIN_SERVICE_FILTER_H_ |
| OLD | NEW |