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

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: Fixed comments and copyright headers in NTPSnippet, NTPSnippetsService and new Snippet classes, rem… 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 : id_(id), provider_(provider), category_(category), score_(0) {}
13
14 Snippet::~Snippet() {}
15
16 } // namespace ntp_snippets
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698