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

Unified Diff: components/security_interstitials/content/BUILD.gn

Issue 2540563002: Move SafeBrowsingUIManager::UnsafeResource to security_interstitials namespace (Closed)
Patch Set: revert owner file 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 side-by-side diff with in-line comments
Download patch
Index: components/security_interstitials/content/BUILD.gn
diff --git a/components/security_interstitials/content/BUILD.gn b/components/security_interstitials/content/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..7e5980056f10ab325830927ab54dc7d9ae88847d
--- /dev/null
+++ b/components/security_interstitials/content/BUILD.gn
@@ -0,0 +1,29 @@
+# Copyright 2015 The Chromium Authors. All rights reserved.
estark 2016/12/01 00:29:56 nit: 2016
Jialiu Lin 2016/12/01 00:55:10 Thanks for catching this!
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+static_library("content") {
+ sources = [
+ "unsafe_resource.cc",
+ "unsafe_resource.h",
+ ]
+
+ deps = [
+ "//base",
+ "//components/safe_browsing_db:hit_report",
+ "//components/safe_browsing_db:util",
+ "//content/public/browser",
+ ]
+
+ if (is_ios) {
estark 2016/12/01 00:29:56 I thiiiiiink this is unnecessary as content/ layer
Jialiu Lin 2016/12/01 00:55:10 You're right. Since content is separated from core
+ sources -= [
+ "unsafe_resource.cc",
+ "unsafe_resource.h",
+ ]
+ deps -= [
+ "//components/safe_browsing_db:hit_report",
+ "//components/safe_browsing_db:util",
+ "//content/public/browser",
+ ]
+ }
+}

Powered by Google App Engine
This is Rietveld 408576698