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

Unified Diff: remoting/host/chromoting_param_traits.h

Issue 2964613002: [Chromoting] Deprecate AggregatedProcessResourceUsage.* (Closed)
Patch Set: Resolve review comments Created 3 years, 6 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: remoting/host/chromoting_param_traits.h
diff --git a/remoting/host/chromoting_param_traits.h b/remoting/host/chromoting_param_traits.h
index 7be70d177b5827bcc36104aa57d4bb3a1309a448..d64670b67a7e81d61198615f8e2c92077b31fbb8 100644
--- a/remoting/host/chromoting_param_traits.h
+++ b/remoting/host/chromoting_param_traits.h
@@ -92,11 +92,11 @@ struct ParamTraits<remoting::DesktopEnvironmentOptions> {
static void Log(const param_type& p, std::string* l);
};
-// Serializes and deserializes AggregatedProcessResourceUsage. This ParamTraits
-// specialization does not handle AggregatedProcessResourceUsage::usages().
+// Serializes and deserializes AggregatedProcessResourceUsage.
template <>
struct ParamTraits<remoting::protocol::AggregatedProcessResourceUsage> {
typedef remoting::protocol::AggregatedProcessResourceUsage param_type;
+ static void GetSize(base::PickleSizer* s, const param_type& p);
static void Write(base::Pickle* m, const param_type& p);
static bool Read(const base::Pickle* m,
base::PickleIterator* iter,

Powered by Google App Engine
This is Rietveld 408576698