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

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

Issue 8194005: Relanding: Add js api for hosted/packaged 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
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | chrome/renderer/extensions/chrome_app_bindings.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 (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 306 matching lines...) Expand 10 before | Expand all | Expand 10 after
317 int32 /* install id */, 317 int32 /* install id */,
318 std::string /* Web Store item ID */, 318 std::string /* Web Store item ID */,
319 GURL /* requestor URL */) 319 GURL /* requestor URL */)
320 320
321 // Send to renderer once the installation mentioned above is complete. 321 // Send to renderer once the installation mentioned above is complete.
322 IPC_MESSAGE_ROUTED3(ExtensionMsg_InlineWebstoreInstallResponse, 322 IPC_MESSAGE_ROUTED3(ExtensionMsg_InlineWebstoreInstallResponse,
323 int32 /* install id */, 323 int32 /* install id */,
324 bool /* whether the install was successful */, 324 bool /* whether the install was successful */,
325 std::string /* error */) 325 std::string /* error */)
326 326
327 // Sent by the renderer when an App is requesting permission to send server
328 // pushed notifications.
329 IPC_MESSAGE_ROUTED3(ExtensionHostMsg_GetAppNotifyChannel,
330 int32 /* request_id */,
331 GURL /* requestor_url */,
332 std::string /* client_id */)
333
334 // Response to the renderer for the above message.
335 IPC_MESSAGE_ROUTED3(ExtensionMsg_GetAppNotifyChannelResponse,
336 int32 /* request_id */,
337 std::string /* channel_id */,
338 std::string /* error */)
339
327 // Deliver a message sent with ExtensionHostMsg_PostMessage. 340 // Deliver a message sent with ExtensionHostMsg_PostMessage.
328 IPC_MESSAGE_ROUTED2(ExtensionMsg_DeliverMessage, 341 IPC_MESSAGE_ROUTED2(ExtensionMsg_DeliverMessage,
329 int /* target_port_id */, 342 int /* target_port_id */,
330 std::string /* message */) 343 std::string /* message */)
OLDNEW
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | chrome/renderer/extensions/chrome_app_bindings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698