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

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

Issue 2578173002: NTP: Extract JSON requests from Fetcher. (Closed)
Patch Set: Created 4 years 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 }
(...skipping 30 matching lines...) Expand all
41 "physical_web_pages/physical_web_page_suggestions_provider.cc", 41 "physical_web_pages/physical_web_page_suggestions_provider.cc",
42 "physical_web_pages/physical_web_page_suggestions_provider.h", 42 "physical_web_pages/physical_web_page_suggestions_provider.h",
43 "pref_names.cc", 43 "pref_names.cc",
44 "pref_names.h", 44 "pref_names.h",
45 "pref_util.cc", 45 "pref_util.cc",
46 "pref_util.h", 46 "pref_util.h",
47 "remote/ntp_snippet.cc", 47 "remote/ntp_snippet.cc",
48 "remote/ntp_snippet.h", 48 "remote/ntp_snippet.h",
49 "remote/ntp_snippets_fetcher.cc", 49 "remote/ntp_snippets_fetcher.cc",
50 "remote/ntp_snippets_fetcher.h", 50 "remote/ntp_snippets_fetcher.h",
51 "remote/ntp_snippets_json_request.cc",
52 "remote/ntp_snippets_json_request.h",
53 "remote/ntp_snippets_request_params.cc",
54 "remote/ntp_snippets_request_params.h",
51 "remote/ntp_snippets_scheduler.h", 55 "remote/ntp_snippets_scheduler.h",
52 "remote/remote_suggestions_database.cc", 56 "remote/remote_suggestions_database.cc",
53 "remote/remote_suggestions_database.h", 57 "remote/remote_suggestions_database.h",
54 "remote/remote_suggestions_provider.cc", 58 "remote/remote_suggestions_provider.cc",
55 "remote/remote_suggestions_provider.h", 59 "remote/remote_suggestions_provider.h",
56 "remote/remote_suggestions_status_service.cc", 60 "remote/remote_suggestions_status_service.cc",
57 "remote/remote_suggestions_status_service.h", 61 "remote/remote_suggestions_status_service.h",
58 "remote/request_throttler.cc", 62 "remote/request_throttler.cc",
59 "remote/request_throttler.h", 63 "remote/request_throttler.h",
60 "sessions/foreign_sessions_suggestions_provider.cc", 64 "sessions/foreign_sessions_suggestions_provider.cc",
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 source_set("unit_tests") { 119 source_set("unit_tests") {
116 testonly = true 120 testonly = true
117 sources = [ 121 sources = [
118 "bookmarks/bookmark_last_visit_utils_unittest.cc", 122 "bookmarks/bookmark_last_visit_utils_unittest.cc",
119 "category_factory_unittest.cc", 123 "category_factory_unittest.cc",
120 "content_suggestions_service_unittest.cc", 124 "content_suggestions_service_unittest.cc",
121 "offline_pages/recent_tab_suggestions_provider_unittest.cc", 125 "offline_pages/recent_tab_suggestions_provider_unittest.cc",
122 "physical_web_pages/physical_web_page_suggestions_provider_unittest.cc", 126 "physical_web_pages/physical_web_page_suggestions_provider_unittest.cc",
123 "remote/ntp_snippet_unittest.cc", 127 "remote/ntp_snippet_unittest.cc",
124 "remote/ntp_snippets_fetcher_unittest.cc", 128 "remote/ntp_snippets_fetcher_unittest.cc",
129 "remote/ntp_snippets_json_request_unittest.cc",
125 "remote/remote_suggestions_database_unittest.cc", 130 "remote/remote_suggestions_database_unittest.cc",
126 "remote/remote_suggestions_provider_unittest.cc", 131 "remote/remote_suggestions_provider_unittest.cc",
127 "remote/remote_suggestions_status_service_unittest.cc", 132 "remote/remote_suggestions_status_service_unittest.cc",
128 "remote/request_throttler_unittest.cc", 133 "remote/request_throttler_unittest.cc",
129 "remote/test_utils.cc", 134 "remote/test_utils.cc",
130 "remote/test_utils.h", 135 "remote/test_utils.h",
131 "sessions/foreign_sessions_suggestions_provider_unittest.cc", 136 "sessions/foreign_sessions_suggestions_provider_unittest.cc",
132 ] 137 ]
133 138
134 deps = [ 139 deps = [
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 ] 174 ]
170 175
171 deps = [ 176 deps = [
172 ":ntp_snippets", 177 ":ntp_snippets",
173 "//base", 178 "//base",
174 "//components/offline_pages/core", 179 "//components/offline_pages/core",
175 "//components/offline_pages/core:test_support", 180 "//components/offline_pages/core:test_support",
176 "//testing/gmock", 181 "//testing/gmock",
177 ] 182 ]
178 } 183 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698