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

Unified Diff: Source/bindings/core/v8/PropertyBagTraits.h

Issue 534133002: [WIP] bindings: Introduce PropertyBag (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 3 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
« no previous file with comments | « Source/bindings/core/v8/PropertyBag.cpp ('k') | Source/bindings/core/v8/V8Binding.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/core/v8/PropertyBagTraits.h
diff --git a/Source/core/frame/NavigatorCPU.h b/Source/bindings/core/v8/PropertyBagTraits.h
similarity index 59%
copy from Source/core/frame/NavigatorCPU.h
copy to Source/bindings/core/v8/PropertyBagTraits.h
index 84d4f58244d3d832e20d703fd8a9d09cf344b303..9d3aa5e1f5b1db3070d6185b50bcbc8425dc3f65 100644
--- a/Source/core/frame/NavigatorCPU.h
+++ b/Source/bindings/core/v8/PropertyBagTraits.h
@@ -2,16 +2,13 @@
// 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 PropertyBagTraits_h
+#define PropertyBagTraits_h
namespace blink {
-class NavigatorCPU {
-public:
- unsigned hardwareConcurrency() const;
-};
+template <typename T> struct PropertyBagTraits;
} // namespace blink
-#endif // NavigatorCPU_h
+#endif // PropertyBagTraits_h
« no previous file with comments | « Source/bindings/core/v8/PropertyBag.cpp ('k') | Source/bindings/core/v8/V8Binding.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698