summaryrefslogtreecommitdiffstats
path: root/ash/display/json_converter.h
diff options
context:
space:
mode:
Diffstat (limited to 'ash/display/json_converter.h')
-rw-r--r--ash/display/json_converter.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/ash/display/json_converter.h b/ash/display/json_converter.h
new file mode 100644
index 0000000..4c88eb0
--- /dev/null
+++ b/ash/display/json_converter.h
@@ -0,0 +1,26 @@
+// Copyright 2016 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 ASH_DISPLAY_JSON_CONVERTER_H_
+#define ASH_DISPLAY_JSON_CONVERTER_H_
+
+#include "ash/ash_export.h"
+
+namespace base {
+class Value;
+}
+
+namespace ash {
+
+class DisplayLayout;
+
+ASH_EXPORT bool JsonToDisplayLayout(const base::Value& value,
+ DisplayLayout* layout);
+
+ASH_EXPORT bool DisplayLayoutToJson(const DisplayLayout& layout,
+ base::Value* value);
+
+} // namespace ash
+
+#endif // ASH_DISPLAY_JSON_CONVERTER_H_