Commit 9d850da2 authored by Daniel Rubery's avatar Daniel Rubery Committed by Commit Bot

Add direct dependency on //url to //android_webview:common

It looks like aw_web_ui_controller_factory.cc was getting it's
dependency on GURL through
components/safe_browsing/web_ui/safe_browsing_ui.h. This CL makes the
dependency direct, so the Safe Browsing UI can change its dependencies
without breaking android_webview.

(For an example of a broken build from changing the Safe Browsing UI,
see crrev/c/1187008/1)

Change-Id: I5d94b567d473caf7655c1447fbc8ccd416d6b5b6
Reviewed-on: https://chromium-review.googlesource.com/1187186Reviewed-by: default avatarBo <boliu@chromium.org>
Commit-Queue: Daniel Rubery <drubery@chromium.org>
Cr-Commit-Position: refs/heads/master@{#585627}
parent 2462c1e2
...@@ -787,6 +787,7 @@ source_set("common") { ...@@ -787,6 +787,7 @@ source_set("common") {
"//ui/gl", "//ui/gl",
"//ui/gl/init", "//ui/gl/init",
"//ui/shell_dialogs", "//ui/shell_dialogs",
"//url",
"//v8", "//v8",
] ]
......
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
#include "components/safe_browsing/web_ui/constants.h" #include "components/safe_browsing/web_ui/constants.h"
#include "components/safe_browsing/web_ui/safe_browsing_ui.h" #include "components/safe_browsing/web_ui/safe_browsing_ui.h"
#include "content/public/browser/web_ui.h" #include "content/public/browser/web_ui.h"
#include "url/gurl.h"
using content::WebUI; using content::WebUI;
using content::WebUIController; using content::WebUIController;
......
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