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

Unified Diff: ash/display/json_converter.h

Issue 1808253004: Refactor JSONValueConverter Out of DisplayLayout (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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
Index: ash/display/json_converter.h
diff --git a/ash/display/json_converter.h b/ash/display/json_converter.h
new file mode 100644
index 0000000000000000000000000000000000000000..4c88eb0f5fe5ecac537742827d7b23055ed520ae
--- /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_

Powered by Google App Engine
This is Rietveld 408576698