OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2017 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 NET_REPORTING_REPORTING_SERIALIZER_H_ | |
6 #define NET_REPORTING_REPORTING_SERIALIZER_H_ | |
7 | |
8 #include "base/macros.h" | |
9 #include "base/time/time.h" | |
10 #include "base/values.h" | |
11 #include "net/base/net_export.h" | |
12 #include "net/base/network_change_notifier.h" | |
13 | |
14 namespace net { | |
15 | |
16 class ReportingContext; | |
17 | |
18 class NET_EXPORT ReportingSerializer { | |
shivanisha
2017/04/05 18:47:31
Comment describing the overall purpose of the clas
Julia Tuttle
2017/04/06 20:20:55
Done.
| |
19 public: | |
20 static std::unique_ptr<base::Value> SerializeToValue( | |
21 ReportingContext* context); | |
22 | |
23 static bool DeserializeFromValue(const base::Value& serialized, | |
24 ReportingContext* context); | |
25 | |
26 private: | |
27 DISALLOW_IMPLICIT_CONSTRUCTORS(ReportingSerializer); | |
28 }; | |
29 | |
30 } // namespace net | |
31 | |
32 #endif // NET_REPORTING_REPORTING_SERIALIZER_H_ | |
OLD | NEW |