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

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

Issue 102593002: Convert string16 to base::string16 in content. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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
« no previous file with comments | « content/common/sandbox_win.cc ('k') | content/common/view_messages.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "ipc/ipc_message_macros.h" 8 #include "ipc/ipc_message_macros.h"
9 #include "ipc/ipc_param_traits.h" 9 #include "ipc/ipc_param_traits.h"
10 #include "third_party/WebKit/public/platform/WebServiceWorkerError.h" 10 #include "third_party/WebKit/public/platform/WebServiceWorkerError.h"
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_ServiceWorkerUnregistered, 42 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_ServiceWorkerUnregistered,
43 int32 /* thread_id */, 43 int32 /* thread_id */,
44 int32 /* request_id */) 44 int32 /* request_id */)
45 45
46 // Sent when any kind of registration error occurs during a 46 // Sent when any kind of registration error occurs during a
47 // RegisterServiceWorker / UnregisterServiceWorker handler above. 47 // RegisterServiceWorker / UnregisterServiceWorker handler above.
48 IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_ServiceWorkerRegistrationError, 48 IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_ServiceWorkerRegistrationError,
49 int32 /* thread_id */, 49 int32 /* thread_id */,
50 int32 /* request_id */, 50 int32 /* request_id */,
51 blink::WebServiceWorkerError::ErrorType /* code */, 51 blink::WebServiceWorkerError::ErrorType /* code */,
52 string16 /* message */) 52 base::string16 /* message */)
53 53
54 // Informs the browser of a new ServiceWorkerProvider in the child process, 54 // Informs the browser of a new ServiceWorkerProvider in the child process,
55 // |provider_id| is unique within its child process. 55 // |provider_id| is unique within its child process.
56 IPC_MESSAGE_CONTROL1(ServiceWorkerHostMsg_ProviderCreated, 56 IPC_MESSAGE_CONTROL1(ServiceWorkerHostMsg_ProviderCreated,
57 int /* provider_id */) 57 int /* provider_id */)
58 58
59 // Informs the browser of a ServiceWorkerProvider being destroyed. 59 // Informs the browser of a ServiceWorkerProvider being destroyed.
60 IPC_MESSAGE_CONTROL1(ServiceWorkerHostMsg_ProviderDestroyed, 60 IPC_MESSAGE_CONTROL1(ServiceWorkerHostMsg_ProviderDestroyed,
61 int /* provider_id */) 61 int /* provider_id */)
62 62
63 // For EmbeddedWorker related messages ------------------------------------- 63 // For EmbeddedWorker related messages -------------------------------------
64 64
65 // Browser -> Renderer message to create a new embedded worker context. 65 // Browser -> Renderer message to create a new embedded worker context.
66 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_StartWorker, 66 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_StartWorker,
67 int /* embedded_worker_id */, 67 int /* embedded_worker_id */,
68 int64 /* service_worker_version_id */, 68 int64 /* service_worker_version_id */,
69 GURL /* script_url */) 69 GURL /* script_url */)
70 70
71 // Browser -> Renderer message to terminate the embedded worker. 71 // Browser -> Renderer message to terminate the embedded worker.
72 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_TerminateWorker, 72 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_TerminateWorker,
73 int /* embedded_worker_id */) 73 int /* embedded_worker_id */)
OLDNEW
« no previous file with comments | « content/common/sandbox_win.cc ('k') | content/common/view_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698