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

Side by Side Diff: chrome/common/extensions/extension_messages.h

Issue 8113006: Add js api for hosted/pacakged apps to request notification authorization (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 // IPC messages for extensions. 5 // IPC messages for extensions.
6 // Multiply-included message file, hence no include guard. 6 // Multiply-included message file, hence no include guard.
7 7
8 #include "base/shared_memory.h" 8 #include "base/shared_memory.h"
9 #include "base/values.h" 9 #include "base/values.h"
10 #include "chrome/common/extensions/extension.h" 10 #include "chrome/common/extensions/extension.h"
(...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after
319 int32 /* install id */, 319 int32 /* install id */,
320 std::string /* Web Store item ID */, 320 std::string /* Web Store item ID */,
321 GURL /* requestor URL */) 321 GURL /* requestor URL */)
322 322
323 // Send to renderer once the installation mentioned above is complete. 323 // Send to renderer once the installation mentioned above is complete.
324 IPC_MESSAGE_ROUTED3(ExtensionMsg_InlineWebstoreInstallResponse, 324 IPC_MESSAGE_ROUTED3(ExtensionMsg_InlineWebstoreInstallResponse,
325 int32 /* install id */, 325 int32 /* install id */,
326 bool /* whether the install was successful */, 326 bool /* whether the install was successful */,
327 std::string /* error */) 327 std::string /* error */)
328 328
329 // Sent by the renderer when an App is requesting permission to send server
330 // pushed notifications.
331 IPC_MESSAGE_ROUTED3(ExtensionHostMsg_GetAppNotifyChannel,
332 int32 /* request_id */,
333 GURL /* requestor_url */,
334 std::string /* client_id */)
335
336 // Response to the renderer for the above message.
337 IPC_MESSAGE_ROUTED3(ExtensionMsg_GetAppNotifyChannelResponse,
338 int32 /* request_id */,
339 std::string /* channel_id */,
340 std::string /* error */)
341
329 // Deliver a message sent with ExtensionHostMsg_PostMessage. 342 // Deliver a message sent with ExtensionHostMsg_PostMessage.
330 IPC_MESSAGE_ROUTED2(ExtensionMsg_DeliverMessage, 343 IPC_MESSAGE_ROUTED2(ExtensionMsg_DeliverMessage,
331 int /* target_port_id */, 344 int /* target_port_id */,
332 std::string /* message */) 345 std::string /* message */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698