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

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

Issue 2448943002: Refactor SecurityStateModel/Clients for simplicity and reusability. (Closed)
Patch Set: fix DEPS. Created 4 years, 1 month 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_state/content/BUILD.gn
diff --git a/components/favicon/content/BUILD.gn b/components/security_state/content/BUILD.gn
similarity index 51%
copy from components/favicon/content/BUILD.gn
copy to components/security_state/content/BUILD.gn
index a6ec44d2c67db8f9af4839fbb0f48948e2571220..1c046a9b332fc078cf57707b9daa01bcb54cf53d 100644
--- a/components/favicon/content/BUILD.gn
+++ b/components/security_state/content/BUILD.gn
@@ -1,41 +1,42 @@
-# Copyright 2015 The Chromium Authors. All rights reserved.
+# 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("content") {
sources = [
- "content_favicon_driver.cc",
- "content_favicon_driver.h",
- "favicon_url_util.cc",
- "favicon_url_util.h",
+ "content_utils.cc",
+ "content_utils.h",
]
public_deps = [
- "//components/favicon/core",
- "//ui/gfx",
+ "//components/security_state/core",
]
+
deps = [
"//base",
- "//components/favicon_base",
- "//components/history/core/browser",
+ "//components/strings",
"//content/public/browser",
"//content/public/common",
- "//url",
+ "//net",
+ "//third_party/WebKit/public:blink_headers",
+ "//ui/base",
]
}
source_set("unit_tests") {
testonly = true
sources = [
- "content_favicon_driver_unittest.cc",
+ "content_utils_unittest.cc",
]
+
deps = [
":content",
- "//components/favicon/core",
+ "//base",
+ "//base/test:test_support",
+ "//components/security_state/core",
"//content/public/browser",
- "//content/public/common",
"//content/test:test_support",
- "//skia",
+ "//net",
"//testing/gtest",
]
}

Powered by Google App Engine
This is Rietveld 408576698