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/extensions/api/discovery/suggested_link.h" | 5 #include "chrome/browser/extensions/api/discovery/suggested_link.h" |
6 | 6 |
7 namespace extensions { | 7 namespace extensions { |
8 | 8 |
9 SuggestedLink::SuggestedLink(const std::string& link_url, | 9 SuggestedLink::SuggestedLink(const std::string& link_url, |
10 const std::string& link_text, | 10 const std::string& link_text, |
| 11 const std::string& url_image, |
11 double score) | 12 double score) |
12 : link_url_(link_url), | 13 : link_url_(link_url), |
13 link_text_(link_text), | 14 link_text_(link_text), |
| 15 url_image_(url_image), |
14 score_(score) {} | 16 score_(score) {} |
15 | 17 |
16 SuggestedLink::~SuggestedLink() {} | 18 SuggestedLink::~SuggestedLink() {} |
17 | 19 |
18 } // namespace extensions | 20 } // namespace extensions |
OLD | NEW |