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

Unified Diff: third_party/WebKit/public/web/WebDataSaverFlag.h

Issue 2881073003: Support DataSaver for SharedWorker (Closed)
Patch Set: fix #include "public/web/WebDataSaverFlag.h" Created 3 years, 7 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/web/WebDataSaverFlag.h
diff --git a/third_party/WebKit/public/web/WebDataSaverFlag.h b/third_party/WebKit/public/web/WebDataSaverFlag.h
new file mode 100644
index 0000000000000000000000000000000000000000..996e93a5b09dceb619b03eb8bf7a8979246715a5
--- /dev/null
+++ b/third_party/WebKit/public/web/WebDataSaverFlag.h
@@ -0,0 +1,15 @@
+// Copyright 2017 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 WebDataSaverFlag_h
+#define WebDataSaverFlag_h
+
+namespace blink {
+
+// Describes whether Data-Saver is enabled or not.
+enum class WebDataSaverFlag { kDisabled = 0, kEnabled, kLast = kEnabled };
kinuko 2017/05/18 03:48:21 Does this need to be in public/web? (They're not t
+
+} // namespace blink
+
+#endif // WebDataSaverFlag_h

Powered by Google App Engine
This is Rietveld 408576698