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

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

Issue 208843004: Add the beginning of a public Service Worker API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix gypi files Created 6 years, 9 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 | Annotate | Revision Log
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 "base/strings/string16.h" 7 #include "base/strings/string16.h"
8 #include "content/common/service_worker/service_worker_status_code.h"
9 #include "content/common/service_worker/service_worker_types.h" 8 #include "content/common/service_worker/service_worker_types.h"
9 #include "content/public/common/service_worker_status_code.h"
10 #include "ipc/ipc_message_macros.h" 10 #include "ipc/ipc_message_macros.h"
11 #include "ipc/ipc_param_traits.h" 11 #include "ipc/ipc_param_traits.h"
12 #include "third_party/WebKit/public/platform/WebServiceWorkerError.h" 12 #include "third_party/WebKit/public/platform/WebServiceWorkerError.h"
13 #include "url/gurl.h" 13 #include "url/gurl.h"
14 14
15 #undef IPC_MESSAGE_EXPORT 15 #undef IPC_MESSAGE_EXPORT
16 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT 16 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT
17 17
18 #define IPC_MESSAGE_START ServiceWorkerMsgStart 18 #define IPC_MESSAGE_START ServiceWorkerMsgStart
19 19
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 // Informs the browser that install event handling has finished. 100 // Informs the browser that install event handling has finished.
101 // Sent via EmbeddedWorker. If there was an exception during the 101 // Sent via EmbeddedWorker. If there was an exception during the
102 // event handling it'll be reported back separately (to be propagated 102 // event handling it'll be reported back separately (to be propagated
103 // to the documents). 103 // to the documents).
104 IPC_MESSAGE_CONTROL0(ServiceWorkerHostMsg_InstallEventFinished) 104 IPC_MESSAGE_CONTROL0(ServiceWorkerHostMsg_InstallEventFinished)
105 105
106 // Informs the browser that fetch event handling has finished. 106 // Informs the browser that fetch event handling has finished.
107 IPC_MESSAGE_CONTROL2(ServiceWorkerHostMsg_FetchEventFinished, 107 IPC_MESSAGE_CONTROL2(ServiceWorkerHostMsg_FetchEventFinished,
108 content::ServiceWorkerFetchEventResult, 108 content::ServiceWorkerFetchEventResult,
109 content::ServiceWorkerResponse) 109 content::ServiceWorkerResponse)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698