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 // This class responds to requests from renderers for the list of plugins, and | 5 // This class responds to requests from renderers for the list of plugins, and |
6 // also a proxy object for plugin instances. | 6 // also a proxy object for plugin instances. |
7 | 7 |
8 #ifndef CONTENT_BROWSER_PLUGIN_SERVICE_IMPL_H_ | 8 #ifndef CONTENT_BROWSER_PLUGIN_SERVICE_IMPL_H_ |
9 #define CONTENT_BROWSER_PLUGIN_SERVICE_IMPL_H_ | 9 #define CONTENT_BROWSER_PLUGIN_SERVICE_IMPL_H_ |
10 #pragma once | |
11 | 10 |
12 #include <map> | 11 #include <map> |
13 #include <set> | 12 #include <set> |
14 #include <vector> | 13 #include <vector> |
15 | 14 |
16 #include "base/basictypes.h" | 15 #include "base/basictypes.h" |
17 #include "base/compiler_specific.h" | 16 #include "base/compiler_specific.h" |
18 #include "base/memory/scoped_vector.h" | 17 #include "base/memory/scoped_vector.h" |
19 #include "base/memory/singleton.h" | 18 #include "base/memory/singleton.h" |
20 #include "base/synchronization/waitable_event_watcher.h" | 19 #include "base/synchronization/waitable_event_watcher.h" |
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
255 scoped_refptr<PluginLoaderPosix> plugin_loader_; | 254 scoped_refptr<PluginLoaderPosix> plugin_loader_; |
256 #endif | 255 #endif |
257 | 256 |
258 // Used to detect if a given plug-in is crashing over and over. | 257 // Used to detect if a given plug-in is crashing over and over. |
259 std::map<FilePath, std::vector<base::Time> > crash_times_; | 258 std::map<FilePath, std::vector<base::Time> > crash_times_; |
260 | 259 |
261 DISALLOW_COPY_AND_ASSIGN(PluginServiceImpl); | 260 DISALLOW_COPY_AND_ASSIGN(PluginServiceImpl); |
262 }; | 261 }; |
263 | 262 |
264 #endif // CONTENT_BROWSER_PLUGIN_SERVICE_IMPL_H_ | 263 #endif // CONTENT_BROWSER_PLUGIN_SERVICE_IMPL_H_ |
OLD | NEW |