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

Unified Diff: components/safe_browsing/password_protection/BUILD.gn

Issue 2720643003: Call CSD whitelist checking on UI thread and record UMA (Closed)
Patch Set: Add TODO Created 3 years, 10 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/safe_browsing/password_protection/BUILD.gn
diff --git a/components/safe_browsing/password_protection/BUILD.gn b/components/safe_browsing/password_protection/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..52a3a84851935191517f1826d890842cb515d88d
--- /dev/null
+++ b/components/safe_browsing/password_protection/BUILD.gn
@@ -0,0 +1,35 @@
+# Copyright 2017 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.
+
+source_set("password_protection_service") {
vakh (use Gerrit instead) 2017/03/01 23:25:19 This .cc/.h file combination is already under pass
Jialiu Lin 2017/03/02 00:53:06 Done.
vakh (use Gerrit instead) 2017/03/02 01:01:00 I don't think this change got uploaded. Can you co
Jialiu Lin 2017/03/02 01:33:14 Oh, sorry, my bad. I thought you meant changing so
+ sources = [
+ "password_protection_service.cc",
+ "password_protection_service.h",
+ ]
+
+ deps = [
+ "//base:base",
+ "//components/history/core/browser:browser",
+ "//components/safe_browsing_db:database_manager",
+ "//content/public/browser:browser",
+ "//third_party/protobuf:protobuf_lite",
+ ]
+}
+
+source_set("password_protection_service_unittest") {
+ testonly = true
+ sources = [
+ "password_protection_service_unittest.cc",
+ ]
+ deps = [
+ ":password_protection_service",
+ "//base",
+ "//base/test:test_support",
+ "//components/safe_browsing_db:test_database_manager",
+ "//content/test:test_support",
+ "//testing/gmock",
+ "//testing/gtest",
+ "//third_party/protobuf:protobuf_lite",
+ ]
+}

Powered by Google App Engine
This is Rietveld 408576698