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

Unified Diff: content/public/common/resource_request.h

Issue 2969463003: Move resource_request.h to content/public/common. (Closed)
Patch Set: Merge Created 3 years, 5 months 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/public/common/BUILD.gn ('k') | content/public/common/resource_request.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/resource_request.h
diff --git a/content/common/resource_request.h b/content/public/common/resource_request.h
similarity index 96%
rename from content/common/resource_request.h
rename to content/public/common/resource_request.h
index 517622ce601624362c79dfc5314c0d1b97c2478f..f4561d57ce4ac1f904ed492b33e5c2e218b895a6 100644
--- a/content/common/resource_request.h
+++ b/content/public/common/resource_request.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CONTENT_COMMON_RESOURCE_REQUEST_H_
-#define CONTENT_COMMON_RESOURCE_REQUEST_H_
+#ifndef CONTENT_PUBLIC_COMMON_RESOURCE_REQUEST_H_
+#define CONTENT_PUBLIC_COMMON_RESOURCE_REQUEST_H_
#include <stdint.h>
#include <string>
@@ -11,14 +11,13 @@
#include "base/memory/ref_counted.h"
#include "base/optional.h"
#include "content/common/content_export.h"
-#include "content/common/navigation_params.h"
-#include "content/common/service_worker/service_worker_types.h"
#include "content/public/common/appcache_info.h"
#include "content/public/common/previews_state.h"
#include "content/public/common/request_context_frame_type.h"
#include "content/public/common/request_context_type.h"
#include "content/public/common/resource_request_body.h"
#include "content/public/common/resource_type.h"
+#include "content/public/common/service_worker_modes.h"
#include "net/base/request_priority.h"
#include "third_party/WebKit/public/platform/WebMixedContentContextType.h"
#include "third_party/WebKit/public/platform/WebPageVisibilityState.h"
@@ -200,4 +199,4 @@ struct CONTENT_EXPORT ResourceRequest {
} // namespace content
-#endif // CONTENT_COMMON_RESOURCE_REQUEST_H_
+#endif // CONTENT_PUBLIC_COMMON_RESOURCE_REQUEST_H_
« no previous file with comments | « content/public/common/BUILD.gn ('k') | content/public/common/resource_request.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698