Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(34)

Side by Side Diff: chrome/browser/extensions/api/discovery/suggested_link.cc

Issue 10647003: Discovery API supports specifying a tile in a URL. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed nits Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
OLDNEW
« no previous file with comments | « chrome/browser/extensions/api/discovery/suggested_link.h ('k') | chrome/browser/resources/ntp4/suggestions_page.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698