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

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

Issue 623823002: Chrome side of passing on the service worker registration with geofencing API calls. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on top of refactored GeofencingManager Created 6 years, 2 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
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Message definition file, included multiple times, hence no include guard. 5 // Message definition file, included multiple times, hence no include guard.
6 6
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 IPC_STRUCT_TRAITS_BEGIN(content::ServiceWorkerObjectInfo) 81 IPC_STRUCT_TRAITS_BEGIN(content::ServiceWorkerObjectInfo)
82 IPC_STRUCT_TRAITS_MEMBER(handle_id) 82 IPC_STRUCT_TRAITS_MEMBER(handle_id)
83 IPC_STRUCT_TRAITS_MEMBER(scope) 83 IPC_STRUCT_TRAITS_MEMBER(scope)
84 IPC_STRUCT_TRAITS_MEMBER(url) 84 IPC_STRUCT_TRAITS_MEMBER(url)
85 IPC_STRUCT_TRAITS_MEMBER(state) 85 IPC_STRUCT_TRAITS_MEMBER(state)
86 IPC_STRUCT_TRAITS_END() 86 IPC_STRUCT_TRAITS_END()
87 87
88 IPC_STRUCT_TRAITS_BEGIN(content::ServiceWorkerRegistrationObjectInfo) 88 IPC_STRUCT_TRAITS_BEGIN(content::ServiceWorkerRegistrationObjectInfo)
89 IPC_STRUCT_TRAITS_MEMBER(handle_id) 89 IPC_STRUCT_TRAITS_MEMBER(handle_id)
90 IPC_STRUCT_TRAITS_MEMBER(scope) 90 IPC_STRUCT_TRAITS_MEMBER(scope)
91 IPC_STRUCT_TRAITS_MEMBER(registration_id)
91 IPC_STRUCT_TRAITS_END() 92 IPC_STRUCT_TRAITS_END()
92 93
93 IPC_STRUCT_TRAITS_BEGIN(content::ServiceWorkerVersionAttributes) 94 IPC_STRUCT_TRAITS_BEGIN(content::ServiceWorkerVersionAttributes)
94 IPC_STRUCT_TRAITS_MEMBER(installing) 95 IPC_STRUCT_TRAITS_MEMBER(installing)
95 IPC_STRUCT_TRAITS_MEMBER(waiting) 96 IPC_STRUCT_TRAITS_MEMBER(waiting)
96 IPC_STRUCT_TRAITS_MEMBER(active) 97 IPC_STRUCT_TRAITS_MEMBER(active)
97 IPC_STRUCT_TRAITS_END() 98 IPC_STRUCT_TRAITS_END()
98 99
99 IPC_ENUM_TRAITS_MAX_VALUE( 100 IPC_ENUM_TRAITS_MAX_VALUE(
100 blink::WebServiceWorkerCacheError, 101 blink::WebServiceWorkerCacheError,
(...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after
412 blink::WebServiceWorkerCacheError) 413 blink::WebServiceWorkerCacheError)
413 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheMatchAllError, 414 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheMatchAllError,
414 int /* request_id */, 415 int /* request_id */,
415 blink::WebServiceWorkerCacheError) 416 blink::WebServiceWorkerCacheError)
416 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheKeysError, 417 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheKeysError,
417 int /* request_id */, 418 int /* request_id */,
418 blink::WebServiceWorkerCacheError) 419 blink::WebServiceWorkerCacheError)
419 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheBatchError, 420 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheBatchError,
420 int /* request_id */, 421 int /* request_id */,
421 blink::WebServiceWorkerCacheError) 422 blink::WebServiceWorkerCacheError)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698