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

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

Issue 2578173002: NTP: Extract JSON requests from Fetcher. (Closed)
Patch Set: Use |GetVariationParamByFeatureAsBool|. Created 3 years, 12 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 }
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 "physical_web_pages/physical_web_page_suggestions_provider.cc", 42 "physical_web_pages/physical_web_page_suggestions_provider.cc",
43 "physical_web_pages/physical_web_page_suggestions_provider.h", 43 "physical_web_pages/physical_web_page_suggestions_provider.h",
44 "pref_names.cc", 44 "pref_names.cc",
45 "pref_names.h", 45 "pref_names.h",
46 "pref_util.cc", 46 "pref_util.cc",
47 "pref_util.h", 47 "pref_util.h",
48 "remote/ntp_snippet.cc", 48 "remote/ntp_snippet.cc",
49 "remote/ntp_snippet.h", 49 "remote/ntp_snippet.h",
50 "remote/ntp_snippets_fetcher.cc", 50 "remote/ntp_snippets_fetcher.cc",
51 "remote/ntp_snippets_fetcher.h", 51 "remote/ntp_snippets_fetcher.h",
52 "remote/ntp_snippets_json_request.cc",
53 "remote/ntp_snippets_json_request.h",
54 "remote/ntp_snippets_request_params.cc",
55 "remote/ntp_snippets_request_params.h",
52 "remote/ntp_snippets_scheduler.h", 56 "remote/ntp_snippets_scheduler.h",
53 "remote/remote_suggestions_database.cc", 57 "remote/remote_suggestions_database.cc",
54 "remote/remote_suggestions_database.h", 58 "remote/remote_suggestions_database.h",
55 "remote/remote_suggestions_provider.cc", 59 "remote/remote_suggestions_provider.cc",
56 "remote/remote_suggestions_provider.h", 60 "remote/remote_suggestions_provider.h",
57 "remote/remote_suggestions_status_service.cc", 61 "remote/remote_suggestions_status_service.cc",
58 "remote/remote_suggestions_status_service.h", 62 "remote/remote_suggestions_status_service.h",
59 "remote/request_throttler.cc", 63 "remote/request_throttler.cc",
60 "remote/request_throttler.h", 64 "remote/request_throttler.h",
61 "sessions/foreign_sessions_suggestions_provider.cc", 65 "sessions/foreign_sessions_suggestions_provider.cc",
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 testonly = true 121 testonly = true
118 sources = [ 122 sources = [
119 "bookmarks/bookmark_last_visit_utils_unittest.cc", 123 "bookmarks/bookmark_last_visit_utils_unittest.cc",
120 "category_rankers/constant_category_ranker_unittest.cc", 124 "category_rankers/constant_category_ranker_unittest.cc",
121 "category_unittest.cc", 125 "category_unittest.cc",
122 "content_suggestions_service_unittest.cc", 126 "content_suggestions_service_unittest.cc",
123 "offline_pages/recent_tab_suggestions_provider_unittest.cc", 127 "offline_pages/recent_tab_suggestions_provider_unittest.cc",
124 "physical_web_pages/physical_web_page_suggestions_provider_unittest.cc", 128 "physical_web_pages/physical_web_page_suggestions_provider_unittest.cc",
125 "remote/ntp_snippet_unittest.cc", 129 "remote/ntp_snippet_unittest.cc",
126 "remote/ntp_snippets_fetcher_unittest.cc", 130 "remote/ntp_snippets_fetcher_unittest.cc",
131 "remote/ntp_snippets_json_request_unittest.cc",
127 "remote/remote_suggestions_database_unittest.cc", 132 "remote/remote_suggestions_database_unittest.cc",
128 "remote/remote_suggestions_provider_unittest.cc", 133 "remote/remote_suggestions_provider_unittest.cc",
129 "remote/remote_suggestions_status_service_unittest.cc", 134 "remote/remote_suggestions_status_service_unittest.cc",
130 "remote/request_throttler_unittest.cc", 135 "remote/request_throttler_unittest.cc",
131 "remote/test_utils.cc", 136 "remote/test_utils.cc",
132 "remote/test_utils.h", 137 "remote/test_utils.h",
133 "sessions/foreign_sessions_suggestions_provider_unittest.cc", 138 "sessions/foreign_sessions_suggestions_provider_unittest.cc",
134 "sessions/tab_delegate_sync_adapter_unittest.cc", 139 "sessions/tab_delegate_sync_adapter_unittest.cc",
135 ] 140 ]
136 141
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 ] 179 ]
175 180
176 deps = [ 181 deps = [
177 ":ntp_snippets", 182 ":ntp_snippets",
178 "//base", 183 "//base",
179 "//components/offline_pages/core", 184 "//components/offline_pages/core",
180 "//components/offline_pages/core:test_support", 185 "//components/offline_pages/core:test_support",
181 "//testing/gmock", 186 "//testing/gmock",
182 ] 187 ]
183 } 188 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/snippets_internals_message_handler.cc ('k') | components/ntp_snippets/remote/ntp_snippets_fetcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698