Index: content/public/android/java/src/org/chromium/content/common/ScreenOrientationValues.template |
diff --git a/content/test/data/service_worker/worker_install_fulfilled.js b/content/public/android/java/src/org/chromium/content/common/ScreenOrientationValues.template |
similarity index 52% |
copy from content/test/data/service_worker/worker_install_fulfilled.js |
copy to content/public/android/java/src/org/chromium/content/common/ScreenOrientationValues.template |
index 74a2cc9ca29a4ebcefd00360f9ba1c255ea81b0d..162abd2bae9059f8ee6289274b6ec71143a87560 100644 |
--- a/content/test/data/service_worker/worker_install_fulfilled.js |
+++ b/content/public/android/java/src/org/chromium/content/common/ScreenOrientationValues.template |
@@ -2,7 +2,10 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-this.oninstall = function(event) { |
- event.waitUntil(new Promise(function(r) { setTimeout(r, 5); })); |
- event.waitUntil(1); |
-}; |
+package org.chromium.content.common; |
+ |
+public class ScreenOrientationValues { |
+#define DEFINE_SCREEN_ORIENTATION_VALUE(name, value) public static final int name = value; |
+#include "content/public/common/screen_orientation_values_list.h" |
+#undef DEFINE_SCREEN_ORIENTATION_VALUE |
+} |