Index: public/platform/WebWakeLockType.h |
diff --git a/Source/core/frame/NavigatorCPU.h b/public/platform/WebWakeLockType.h |
similarity index 54% |
copy from Source/core/frame/NavigatorCPU.h |
copy to public/platform/WebWakeLockType.h |
index 84d4f58244d3d832e20d703fd8a9d09cf344b303..9bf940ca5737cf54d3efcd26ec5f660e736f8831 100644 |
--- a/Source/core/frame/NavigatorCPU.h |
+++ b/public/platform/WebWakeLockType.h |
@@ -2,16 +2,17 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef NavigatorCPU_h |
-#define NavigatorCPU_h |
+#ifndef WebWakeLockType_h |
+#define WebWakeLockType_h |
namespace blink { |
-class NavigatorCPU { |
-public: |
- unsigned hardwareConcurrency() const; |
+enum WebWakeLockType { |
+ WebWakeLockScreen = 0, |
+ WebWakeLockSystem, |
+ WebWakeLockNone, |
}; |
} // namespace blink |
-#endif // NavigatorCPU_h |
+#endif // WebWakeLockType_h |