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 #include "chrome/browser/plugins/plugin_metadata.h" | 5 #include "chrome/browser/plugins/plugin_metadata.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include <algorithm> | 9 #include <algorithm> |
8 | 10 |
9 #include "base/logging.h" | 11 #include "base/logging.h" |
10 #include "base/strings/pattern.h" | 12 #include "base/strings/pattern.h" |
11 #include "base/strings/string_util.h" | 13 #include "base/strings/string_util.h" |
12 #include "content/public/common/webplugininfo.h" | 14 #include "content/public/common/webplugininfo.h" |
13 | 15 |
14 // static | 16 // static |
15 const char PluginMetadata::kAdobeReaderGroupName[] = "Adobe Reader"; | 17 const char PluginMetadata::kAdobeReaderGroupName[] = "Adobe Reader"; |
16 const char PluginMetadata::kJavaGroupName[] = "Java(TM)"; | 18 const char PluginMetadata::kJavaGroupName[] = "Java(TM)"; |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 PluginMetadata* copy = new PluginMetadata(identifier_, | 128 PluginMetadata* copy = new PluginMetadata(identifier_, |
127 name_, | 129 name_, |
128 url_for_display_, | 130 url_for_display_, |
129 plugin_url_, | 131 plugin_url_, |
130 help_url_, | 132 help_url_, |
131 group_name_matcher_, | 133 group_name_matcher_, |
132 language_); | 134 language_); |
133 copy->versions_ = versions_; | 135 copy->versions_ = versions_; |
134 return make_scoped_ptr(copy); | 136 return make_scoped_ptr(copy); |
135 } | 137 } |
OLD | NEW |