Replace content enums in ResourceRequest with ints.
We need to extract these web platform specific enums from the struct as the network service doesn't
know or care about them. Until that's done, remove the dependency so that we can move the struct to
services/network since that blocks making URLLoader work on iOS. That way we can parallelize
converting shared layered components to use content::URLLoader instead of net::URLFetcher.
Bug: 753658
Cq-Include-Trybots: master.tryserver.chromium.linux:linux_mojo
Change-Id: I2553f442a8b7be9ee7d34c7991573838ac2d75a3
Reviewed-on: https://chromium-review.googlesource.com/845861
Commit-Queue: John Abd-El-Malek <[email protected]>
Reviewed-by: Kinuko Yasuda <[email protected]>
Cr-Commit-Position: refs/heads/master@{#527664}
diff --git a/chrome/browser/task_manager/task_manager_interface.cc b/chrome/browser/task_manager/task_manager_interface.cc
index 09c8843..f58357d3 100644
--- a/chrome/browser/task_manager/task_manager_interface.cc
+++ b/chrome/browser/task_manager/task_manager_interface.cc
@@ -13,6 +13,7 @@
#include "components/prefs/pref_service.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/resource_request_info.h"
+#include "content/public/common/child_process_host.h"
#if defined(OS_MACOSX)
#include "chrome/browser/ui/browser_dialogs.h"