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

Side by Side Diff: ui/display/manager/json_converter.h

Issue 2760453003: Work In Progess
Patch Set: convert local_state to use pre_client_store_ Created 3 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
« no previous file with comments | « ui/display/manager/display_preferences.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_DISPLAY_MANAGER_JSON_CONVERTER_H_ 5 #ifndef UI_DISPLAY_MANAGER_JSON_CONVERTER_H_
6 #define UI_DISPLAY_MANAGER_JSON_CONVERTER_H_ 6 #define UI_DISPLAY_MANAGER_JSON_CONVERTER_H_
7 7
8 #include "ui/display/manager/display_manager_export.h" 8 #include "ui/display/manager/display_manager_export.h"
9 9
10 namespace base { 10 namespace base {
11 class Value; 11 class Value;
12 } 12 }
13 13
14 namespace display { 14 namespace display {
15 class DisplayLayout; 15 class DisplayLayout;
16
17 DISPLAY_MANAGER_EXPORT bool JsonToDisplayLayout(const base::Value& value, 16 DISPLAY_MANAGER_EXPORT bool JsonToDisplayLayout(const base::Value& value,
18 DisplayLayout* layout); 17 DisplayLayout* layout);
19 18
20 DISPLAY_MANAGER_EXPORT bool DisplayLayoutToJson(const DisplayLayout& layout, 19 DISPLAY_MANAGER_EXPORT bool DisplayLayoutToJson(const DisplayLayout& layout,
21 base::Value* value); 20 base::Value* value);
22
23 } // namespace display 21 } // namespace display
24 22
25 #endif // UI_DISPLAY_MANAGER_JSON_CONVERTER_H_ 23 #endif // UI_DISPLAY_MANAGER_JSON_CONVERTER_H_
OLDNEW
« no previous file with comments | « ui/display/manager/display_preferences.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698