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

Unified Diff: third_party/WebKit/public/platform/modules/serviceworker/WebNavigationPreloadState.h

Issue 2443103002: service worker: Implement NavigationPreloadManager.getState (Closed)
Patch Set: rm file added in bad merge Created 4 years, 2 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
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

Powered by Google App Engine
This is Rietveld 408576698