Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2015 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 CONTENT_COMMON_SERVICE_WORKER_SERVICE_WORKER_TRAITS_H_ | |
| 6 #define CONTENT_COMMON_SERVICE_WORKER_SERVICE_WORKER_TRAITS_H_ | |
| 7 | |
| 8 #include "ipc/ipc_message.h" | |
| 9 #include "ipc/ipc_param_traits.h" | |
| 10 | |
| 11 namespace content { | |
| 12 class ServiceWorkerClientInfo; | |
| 13 } | |
| 14 | |
| 15 namespace IPC { | |
| 16 | |
| 17 template <> | |
|
Tom Sepez
2015/01/23 17:51:43
This is a step in the wrong direction, as we want
mlamouri (slow - plz ping)
2015/01/23 18:41:07
I guess I could have all the properties public for
| |
| 18 struct ParamTraits<content::ServiceWorkerClientInfo> { | |
| 19 typedef content::ServiceWorkerClientInfo param_type; | |
| 20 static void Write(Message* m, const param_type& p); | |
| 21 static bool Read(const Message* m, PickleIterator* iter, param_type* r); | |
| 22 static void Log(const param_type& p, std::string* l); | |
| 23 }; | |
| 24 | |
| 25 } // namespace IPC | |
| 26 | |
| 27 #endif // CONTENT_COMMON_SERVICE_WORKER_SERVICE_WORKER_TRAITS_H_ | |
| OLD | NEW |