buffet: Moved LoadJsonDict() function into buffet/utils.h
Moved LoadJsonDict from CommandManager class into a separate
header file as a stand-alone function so that it can be
used by itself.
This function will come in handy when implementing device
state management.
BUG=chromium:415364
TEST=FEATURES=test emerge-link buffet
Change-Id: Ie818a811989d82e4b092e399ca136e15276ab453
Reviewed-on: https://chromium-review.googlesource.com/219134
Tested-by: Alex Vakulenko <avakulenko@chromium.org>
Reviewed-by: Christopher Wiley <wiley@chromium.org>
Commit-Queue: Alex Vakulenko <avakulenko@chromium.org>
diff --git a/buffet/buffet.gyp b/buffet/buffet.gyp
index 002fd5c..ca2ddc7 100644
--- a/buffet/buffet.gyp
+++ b/buffet/buffet.gyp
@@ -40,6 +40,7 @@
'device_registration_info.cc',
'manager.cc',
'storage_impls.cc',
+ 'utils.cc',
],
},
{