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

Side by Side 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: Update 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef ASH_DISPLAY_JSON_CONVERTER_H_
6 #define ASH_DISPLAY_JSON_CONVERTER_H_
7
8 #include "ash/ash_export.h"
9
10 namespace base {
11 class Value;
12 }
13
14 namespace ash {
15
16 class DisplayLayout;
17
18 ASH_EXPORT bool JsonToDisplayLayout(const base::Value& value,
19 DisplayLayout* layout);
20
21 ASH_EXPORT bool DisplayLayoutToJson(const DisplayLayout& layout,
22 base::Value* value);
23
24 } // namespace ash
25
26 #endif // ASH_DISPLAY_JSON_CONVERTER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698