| 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 "webkit/glue/plugins/webplugininfo.h" | 5 #include "webkit/glue/plugins/webplugininfo.h" |
| 6 | 6 |
| 7 WebPluginMimeType::WebPluginMimeType() {} | 7 WebPluginMimeType::WebPluginMimeType() {} |
| 8 | 8 |
| 9 WebPluginMimeType::~WebPluginMimeType() {} | 9 WebPluginMimeType::~WebPluginMimeType() {} |
| 10 | 10 |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 name = rhs.name; | 25 name = rhs.name; |
| 26 path = rhs.path; | 26 path = rhs.path; |
| 27 version = rhs.version; | 27 version = rhs.version; |
| 28 desc = rhs.desc; | 28 desc = rhs.desc; |
| 29 mime_types = rhs.mime_types; | 29 mime_types = rhs.mime_types; |
| 30 enabled = rhs.enabled; | 30 enabled = rhs.enabled; |
| 31 return *this; | 31 return *this; |
| 32 } | 32 } |
| 33 | 33 |
| 34 WebPluginInfo::WebPluginInfo(const string16& fake_name, | 34 WebPluginInfo::WebPluginInfo(const string16& fake_name, |
| 35 const FilePath& fake_path, |
| 35 const string16& fake_version, | 36 const string16& fake_version, |
| 36 const string16& fake_desc) | 37 const string16& fake_desc) |
| 37 : name(fake_name), | 38 : name(fake_name), |
| 38 path(), | 39 path(fake_path), |
| 39 version(fake_version), | 40 version(fake_version), |
| 40 desc(fake_desc), | 41 desc(fake_desc), |
| 41 mime_types(), | 42 mime_types(), |
| 42 enabled(true) { | 43 enabled(true) { |
| 43 } | 44 } |
| 44 | 45 |
| OLD | NEW |