OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 #include "chrome/browser/plugin_updater.h" | 5 #include "chrome/browser/plugin_updater.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/path_service.h" | 10 #include "base/path_service.h" |
11 #include "base/scoped_ptr.h" | 11 #include "base/scoped_ptr.h" |
12 #include "base/values.h" | 12 #include "base/values.h" |
| 13 #include "base/version.h" |
13 #include "chrome/browser/pref_service.h" | 14 #include "chrome/browser/pref_service.h" |
14 #include "chrome/browser/profile.h" | 15 #include "chrome/browser/profile.h" |
15 #include "chrome/common/chrome_paths.h" | 16 #include "chrome/common/chrome_paths.h" |
16 #include "chrome/common/plugin_group.h" | 17 #include "chrome/common/plugin_group.h" |
17 #include "chrome/common/pref_names.h" | 18 #include "chrome/common/pref_names.h" |
18 #include "webkit/glue/plugins/plugin_list.h" | 19 #include "webkit/glue/plugins/plugin_list.h" |
19 #include "webkit/glue/plugins/webplugininfo.h" | 20 #include "webkit/glue/plugins/webplugininfo.h" |
20 | 21 |
21 namespace plugin_updater { | 22 namespace plugin_updater { |
22 | 23 |
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
233 it != plugin_groups.end(); | 234 it != plugin_groups.end(); |
234 ++it) { | 235 ++it) { |
235 // Don't save preferences for vulnerable pugins. | 236 // Don't save preferences for vulnerable pugins. |
236 if (!(*it)->IsVulnerable()) { | 237 if (!(*it)->IsVulnerable()) { |
237 plugins_list->Append((*it)->GetSummary()); | 238 plugins_list->Append((*it)->GetSummary()); |
238 } | 239 } |
239 } | 240 } |
240 } | 241 } |
241 | 242 |
242 } // namespace plugin_updater | 243 } // namespace plugin_updater |
OLD | NEW |