Index: third_party/WebKit/public/platform/modules/serviceworker/WebNavigationPreloadState.h |
diff --git a/third_party/WebKit/public/platform/modules/serviceworker/WebNavigationPreloadState.h b/third_party/WebKit/public/platform/modules/serviceworker/WebNavigationPreloadState.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..c30845e82279ae62d8d3967b73fcec2661f6bfa1 |
--- /dev/null |
+++ b/third_party/WebKit/public/platform/modules/serviceworker/WebNavigationPreloadState.h |
@@ -0,0 +1,19 @@ |
+// Copyright 2016 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef WebNavigationPreloadState_h |
+#define WebNavigationPreloadState_h |
+ |
+namespace blink { |
+ |
+struct WebNavigationPreloadState { |
+ WebNavigationPreloadState(bool enabled, const WebString& headerValue) |
+ : enabled(enabled), headerValue(headerValue) {} |
+ |
+ bool enabled; |
+ WebString headerValue; |
+}; |
+} |
+ |
+#endif // WebNavigationPreloadState_h |