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

Unified Diff: content/common/service_worker/service_worker_types.h

Issue 2465813003: Stop using MojoURLLoaderFactoryGetter. (Closed)
Patch Set: 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
« no previous file with comments | « content/browser/service_worker/service_worker_url_request_job_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/service_worker/service_worker_types.h
diff --git a/content/common/service_worker/service_worker_types.h b/content/common/service_worker/service_worker_types.h
index 95e5cf5ccd9af55a088612e735bbfa36d7ad7be4..4dbe26f8e7ee0b13233ba9d247099be503017a66 100644
--- a/content/common/service_worker/service_worker_types.h
+++ b/content/common/service_worker/service_worker_types.h
@@ -10,7 +10,6 @@
#include <map>
#include <string>
-#include "base/callback.h"
#include "base/strings/string_util.h"
#include "base/time/time.h"
#include "content/common/content_export.h"
@@ -18,7 +17,6 @@
#include "content/public/common/referrer.h"
#include "content/public/common/request_context_frame_type.h"
#include "content/public/common/request_context_type.h"
-#include "mojo/public/cpp/bindings/interface_request.h"
#include "third_party/WebKit/public/platform/WebPageVisibilityState.h"
#include "third_party/WebKit/public/platform/modules/serviceworker/WebServiceWorkerClientType.h"
#include "third_party/WebKit/public/platform/modules/serviceworker/WebServiceWorkerResponseError.h"
@@ -31,10 +29,6 @@
namespace content {
-namespace mojom {
-class URLLoaderFactory;
-} // namespace mojom
-
// Indicates the document main thread ID in the child process. This is used for
// messaging between the browser process and the child process.
static const int kDocumentMainThreadId = 0;
@@ -142,11 +136,6 @@ using ServiceWorkerHeaderMap =
using ServiceWorkerHeaderList = std::vector<std::string>;
-// Callback function type to get a mojom::URLLoaderFactory interface by passing
-// URLLoaderFactoryRequest.
-using MojoURLLoaderFactoryGetter =
- base::Callback<void(mojo::InterfaceRequest<mojom::URLLoaderFactory>)>;
-
// To dispatch fetch request from browser to child process.
struct CONTENT_EXPORT ServiceWorkerFetchRequest {
ServiceWorkerFetchRequest();
« no previous file with comments | « content/browser/service_worker/service_worker_url_request_job_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698