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

Unified Diff: content/common/service_worker_messages.h

Issue 23615009: Stub out initial NavigationController browser implementation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update to ToT Created 7 years, 3 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
« no previous file with comments | « content/common/content_message_generator.h ('k') | content/content_browser.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/service_worker_messages.h
diff --git a/content/common/service_worker_messages.h b/content/common/service_worker_messages.h
new file mode 100644
index 0000000000000000000000000000000000000000..29d5f6cc2cb2dfdbb7c56b535afcdc6f60cd11a8
--- /dev/null
+++ b/content/common/service_worker_messages.h
@@ -0,0 +1,33 @@
+// Copyright (c) 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// Message definition file, included multiple times, hence no include guard.
+
+#include "base/strings/string16.h"
+#include "ipc/ipc_message_macros.h"
+#include "ipc/ipc_param_traits.h"
+#include "url/gurl.h"
+
+#define IPC_MESSAGE_START ServiceWorkerMsgStart
+
+// Messages sent from the child process to the browser.
+
+IPC_MESSAGE_CONTROL3(ServiceWorkerHostMsg_RegisterServiceWorker,
+ int32 /* callback_id */,
+ string16 /* scope */,
+ GURL /* script_url */)
+
+IPC_MESSAGE_CONTROL2(ServiceWorkerHostMsg_UnregisterServiceWorker,
+ int32 /* callback_id */,
+ string16 /* scope (url pattern) */)
+
+// Messages sent from the browser to the child process.
+
+// Response to ServiceWorkerMsg_RegisterServiceWorker
+IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_ServiceWorkerRegistered,
+ int32 /* callback_id */)
+
+// Response to ServiceWorkerMsg_UnregisterServiceWorker
+IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_ServiceWorkerUnregistered,
+ int32 /* callback_id */)
« no previous file with comments | « content/common/content_message_generator.h ('k') | content/content_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698