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

Side by Side Diff: content/common/service_worker/service_worker_traits.h

Issue 871013003: Gather the ServiceWorker client information in the browser process. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@rfh_getvisibilitystate
Patch Set: rebase Created 5 years, 11 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
OLDNEW
(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 <>
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698