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

Unified Diff: components/previews/core/BUILD.gn

Issue 2335023002: Adding a previews IO-thread blacklist (Closed)
Patch Set: tbansal comments Created 4 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: components/previews/core/BUILD.gn
diff --git a/components/previews/core/BUILD.gn b/components/previews/core/BUILD.gn
index e59a40ba50e6314694838c687b1a3036305d159f..380ef2415357ba04503422c37e3cf860bbd65241 100644
--- a/components/previews/core/BUILD.gn
+++ b/components/previews/core/BUILD.gn
@@ -1,41 +1,51 @@
# Copyright 2016 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
static_library("core") {
sources = [
+ "previews_black_list.cc",
+ "previews_black_list.h",
+ "previews_black_list_item.cc",
+ "previews_black_list_item.h",
"previews_data_savings.cc",
"previews_data_savings.h",
"previews_experiments.cc",
"previews_experiments.h",
"previews_io_data.cc",
"previews_io_data.h",
+ "previews_opt_out_store.cc",
+ "previews_opt_out_store.h",
"previews_ui_service.cc",
"previews_ui_service.h",
]
deps = [
"//base",
"//components/data_reduction_proxy/core/common",
"//components/variations",
+ "//url:url",
]
}
source_set("unit_tests") {
testonly = true
sources = [
+ "previews_black_list_item_unittest.cc",
+ "previews_black_list_unittest.cc",
"previews_data_savings_unittest.cc",
"previews_experiments_unittest.cc",
"previews_io_data_unittest.cc",
"previews_ui_service_unittest.cc",
]
deps = [
":core",
"//base",
"//base/test:test_support",
"//components/data_reduction_proxy/core/common",
"//components/variations",
"//testing/gtest",
+ "//url:url",
]
}

Powered by Google App Engine
This is Rietveld 408576698