| OLD | NEW |
| (Empty) |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #include "webkit/glue/plugins/webplugininfo.h" | |
| 6 | |
| 7 WebPluginMimeType::WebPluginMimeType() {} | |
| 8 | |
| 9 WebPluginMimeType::~WebPluginMimeType() {} | |
| 10 | |
| 11 WebPluginInfo::WebPluginInfo() : enabled(false) {} | |
| 12 | |
| 13 WebPluginInfo::WebPluginInfo(const WebPluginInfo& rhs) | |
| 14 : name(rhs.name), | |
| 15 path(rhs.path), | |
| 16 version(rhs.version), | |
| 17 desc(rhs.desc), | |
| 18 mime_types(rhs.mime_types), | |
| 19 enabled(rhs.enabled) { | |
| 20 } | |
| 21 | |
| 22 WebPluginInfo::~WebPluginInfo() {} | |
| 23 | |
| 24 WebPluginInfo& WebPluginInfo::operator=(const WebPluginInfo& rhs) { | |
| 25 name = rhs.name; | |
| 26 path = rhs.path; | |
| 27 version = rhs.version; | |
| 28 desc = rhs.desc; | |
| 29 mime_types = rhs.mime_types; | |
| 30 enabled = rhs.enabled; | |
| 31 return *this; | |
| 32 } | |
| 33 | |
| 34 WebPluginInfo::WebPluginInfo(const string16& fake_name, | |
| 35 const string16& fake_version, | |
| 36 const string16& fake_desc) | |
| 37 : name(fake_name), | |
| 38 path(), | |
| 39 version(fake_version), | |
| 40 desc(fake_desc), | |
| 41 mime_types(), | |
| 42 enabled(true) { | |
| 43 } | |
| 44 | |
| OLD | NEW |