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

Side by Side Diff: components/ntp_snippets/BUILD.gn

Issue 2914263002: [NTP::Push] Adding Breaking News Subscription Manager (Closed)
Patch Set: Subscription endpoint as a parameter. Created 3 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
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 import("//build/config/ui.gni") 5 import("//build/config/ui.gni")
6 6
7 if (is_android) { 7 if (is_android) {
8 import("//build/config/android/config.gni") 8 import("//build/config/android/config.gni")
9 import("//build/config/android/rules.gni") 9 import("//build/config/android/rules.gni")
10 } 10 }
11 11
12 static_library("ntp_snippets") { 12 static_library("ntp_snippets") {
13 sources = [ 13 sources = [
14 "bookmarks/bookmark_last_visit_utils.cc", 14 "bookmarks/bookmark_last_visit_utils.cc",
15 "bookmarks/bookmark_last_visit_utils.h", 15 "bookmarks/bookmark_last_visit_utils.h",
16 "bookmarks/bookmark_suggestions_provider.cc", 16 "bookmarks/bookmark_suggestions_provider.cc",
17 "bookmarks/bookmark_suggestions_provider.h", 17 "bookmarks/bookmark_suggestions_provider.h",
18 "breaking_news/subscription_json_request.cc", 18 "breaking_news/subscription_json_request.cc",
19 "breaking_news/subscription_json_request.h", 19 "breaking_news/subscription_json_request.h",
20 "breaking_news/subscription_manager.cc",
21 "breaking_news/subscription_manager.h",
20 "callbacks.h", 22 "callbacks.h",
21 "category.cc", 23 "category.cc",
22 "category.h", 24 "category.h",
23 "category_info.cc", 25 "category_info.cc",
24 "category_info.h", 26 "category_info.h",
25 "category_rankers/category_ranker.h", 27 "category_rankers/category_ranker.h",
26 "category_rankers/click_based_category_ranker.cc", 28 "category_rankers/click_based_category_ranker.cc",
27 "category_rankers/click_based_category_ranker.h", 29 "category_rankers/click_based_category_ranker.h",
28 "category_rankers/constant_category_ranker.cc", 30 "category_rankers/constant_category_ranker.cc",
29 "category_rankers/constant_category_ranker.h", 31 "category_rankers/constant_category_ranker.h",
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 ] 139 ]
138 } 140 }
139 } 141 }
140 142
141 source_set("unit_tests") { 143 source_set("unit_tests") {
142 testonly = true 144 testonly = true
143 sources = [ 145 sources = [
144 "bookmarks/bookmark_last_visit_utils_unittest.cc", 146 "bookmarks/bookmark_last_visit_utils_unittest.cc",
145 "bookmarks/bookmark_suggestions_provider_unittest.cc", 147 "bookmarks/bookmark_suggestions_provider_unittest.cc",
146 "breaking_news/subscription_json_request_unittest.cc", 148 "breaking_news/subscription_json_request_unittest.cc",
149 "breaking_news/subscription_manager_unittest.cc",
147 "category_rankers/click_based_category_ranker_unittest.cc", 150 "category_rankers/click_based_category_ranker_unittest.cc",
148 "category_rankers/constant_category_ranker_unittest.cc", 151 "category_rankers/constant_category_ranker_unittest.cc",
149 "category_unittest.cc", 152 "category_unittest.cc",
150 "content_suggestions_metrics_unittest.cc", 153 "content_suggestions_metrics_unittest.cc",
151 "content_suggestions_service_unittest.cc", 154 "content_suggestions_service_unittest.cc",
152 "offline_pages/recent_tab_suggestions_provider_unittest.cc", 155 "offline_pages/recent_tab_suggestions_provider_unittest.cc",
153 "physical_web_pages/physical_web_page_suggestions_provider_unittest.cc", 156 "physical_web_pages/physical_web_page_suggestions_provider_unittest.cc",
154 "reading_list/reading_list_suggestions_provider_unittest.cc", 157 "reading_list/reading_list_suggestions_provider_unittest.cc",
155 "remote/json_request_unittest.cc", 158 "remote/json_request_unittest.cc",
156 "remote/remote_suggestion_unittest.cc", 159 "remote/remote_suggestion_unittest.cc",
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 222
220 deps = [ 223 deps = [
221 ":ntp_snippets", 224 ":ntp_snippets",
222 "//base", 225 "//base",
223 "//components/offline_pages/core", 226 "//components/offline_pages/core",
224 "//components/offline_pages/core:test_support", 227 "//components/offline_pages/core:test_support",
225 "//testing/gmock", 228 "//testing/gmock",
226 "//testing/gtest", 229 "//testing/gtest",
227 ] 230 ]
228 } 231 }
OLDNEW
« no previous file with comments | « chrome/browser/prefs/browser_prefs.cc ('k') | components/ntp_snippets/breaking_news/subscription_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698