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

Side by Side Diff: components/ntp_snippets/snippet.cc

Issue 2059203002: Add ContentSuggestion, ContentSuggestionCategory and ContentSuggestionProviderType (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Include Snippet#url in constructor, remove setters for fields passed in through constructor Created 4 years, 6 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
OLDNEW
(Empty)
1 // Copyright 2016 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 "components/ntp_snippets/snippet.h"
6
7 namespace ntp_snippets {
8
9 Snippet::Snippet(const std::string& id,
10 const SnippetProviderType provider,
11 const SnippetCategory category,
12 const GURL& url)
13 : id_(id), provider_(provider), category_(category), url_(url), score_(0) {}
14
15 Snippet::~Snippet() {}
16
17 } // namespace ntp_snippets
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698