Index: extensions/renderer/bindings/api_binding_util.h |
diff --git a/extensions/renderer/bindings/api_binding_util.h b/extensions/renderer/bindings/api_binding_util.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..10f95a3bd1f23644e59848d969e16314d9f0afcd |
--- /dev/null |
+++ b/extensions/renderer/bindings/api_binding_util.h |
@@ -0,0 +1,20 @@ |
+// 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 EXTENSIONS_RENDERER_BINDING_API_BINDING_UTIL_H_ |
+#define EXTENSIONS_RENDERER_BINDING_API_BINDING_UTIL_H_ |
+ |
+#include <string> |
+ |
+namespace extensions { |
+namespace binding { |
+ |
+// Returns the string version of the current platform, one of "chromeos", |
+// "linux", "win", or "mac". |
+std::string GetPlatformString(); |
+ |
+} // namespace binding |
+} // namespace extensions |
+ |
+#endif // EXTENSIONS_RENDERER_BINDING_API_BINDING_UTIL_H_ |