summaryrefslogtreecommitdiff
path: root/chromium/chrome/common/prerender_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/chrome/common/prerender_util.h')
-rw-r--r--chromium/chrome/common/prerender_util.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/chromium/chrome/common/prerender_util.h b/chromium/chrome/common/prerender_util.h
index 4fa1436ccb6..39d2aa7f698 100644
--- a/chromium/chrome/common/prerender_util.h
+++ b/chromium/chrome/common/prerender_util.h
@@ -7,7 +7,7 @@
#include <string>
-#include "chrome/common/prerender_types.h"
+#include "components/prerender/common/prerender_types.mojom.h"
class GURL;
@@ -22,7 +22,8 @@ bool DoesURLHaveValidScheme(const GURL& url);
bool DoesSubresourceURLHaveValidScheme(const GURL& url);
// Returns true iff the method given is valid for prerendering.
-bool IsValidHttpMethod(PrerenderMode prerender_mode, const std::string& method);
+bool IsValidHttpMethod(prerender::mojom::PrerenderMode prerender_mode,
+ const std::string& method);
std::string ComposeHistogramName(const std::string& prefix_type,
const std::string& name);