Commit b82bb6d5 authored by Nico Weber's avatar Nico Weber Committed by Commit Bot

Reformat all gn files in /components/safe_browsing.

`gn format` recently changed its formatting behavior
for deps, source, and a few other elements when they
are assigned (with =) single-element lists to be consistent
with the formatting of updates (with +=) with single-element.

Now that we've rolled in a GN binary with the change,
reformat all files so that people don't get presubmit
warnings due to this.

This CL was uploaded by git cl split.

R=drubery@chromium.org

Bug: 1041419
Change-Id: Ic101be4bcd915eee3dfdd21fa4b81df1fd63aac7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1997810
Commit-Queue: Nico Weber <thakis@chromium.org>
Auto-Submit: Nico Weber <thakis@chromium.org>
Reviewed-by: default avatarDaniel Rubery <drubery@chromium.org>
Cr-Commit-Position: refs/heads/master@{#732464}
parent aabe515f
......@@ -25,6 +25,7 @@ jumbo_source_set("browser") {
"//components/safe_browsing/core:csd_proto",
"//components/safe_browsing/core:features",
"//components/safe_browsing/core:realtimeapi_proto",
"//components/safe_browsing/core:verdict_cache_manager",
"//components/safe_browsing/core/browser",
"//components/safe_browsing/core/browser:network_context",
"//components/safe_browsing/core/browser:referrer_chain_provider",
......@@ -32,7 +33,6 @@ jumbo_source_set("browser") {
"//components/safe_browsing/core/db:database_manager",
"//components/safe_browsing/core/realtime:policy_engine",
"//components/safe_browsing/core/realtime:url_lookup_service",
"//components/safe_browsing/core:verdict_cache_manager",
"//components/safe_browsing/core/web_ui:constants",
"//components/security_interstitials/content:security_interstitial_page",
"//content/public/browser:browser",
......
......@@ -48,9 +48,7 @@ source_set("throttles") {
source_set("websocket_sb_handshake_throttle_unittest") {
testonly = true
sources = [
"websocket_sb_handshake_throttle_unittest.cc",
]
sources = [ "websocket_sb_handshake_throttle_unittest.cc" ]
deps = [
":throttles",
......
......@@ -32,16 +32,12 @@ static_library("web_ui") {
"//url",
]
public_deps = [
"//components/safe_browsing/core:webui_proto",
]
public_deps = [ "//components/safe_browsing/core:webui_proto" ]
}
source_set("unit_tests") {
testonly = true
sources = [
"safe_browsing_ui_unittest.cc",
]
sources = [ "safe_browsing_ui_unittest.cc" ]
deps = [
":web_ui",
......
......@@ -87,11 +87,9 @@ source_set("thread_utils") {
if (is_ios) {
sources += [ "//components/safe_browsing/ios/thread_utils_ios.cc" ]
deps += [ "//ios/web/public/thread" ]
} else {
sources += [ "//components/safe_browsing/content/common/thread_utils.cc" ]
deps += [ "//content/public/browser" ]
}
}
......@@ -99,17 +97,14 @@ source_set("thread_utils") {
source_set("test_support") {
testonly = true
sources = [ "test_task_environment.h" ]
deps = [ "//base/test:test_support" ]
if (is_ios) {
sources += [ "//components/safe_browsing/ios/test_task_environment_ios.cc" ]
deps += [ "//ios/web/public/test" ]
} else {
sources +=
[ "//components/safe_browsing/content/common/test_task_environment.cc" ]
deps += [ "//content/test:test_support" ]
}
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment