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
3 // found in the LICENSE file.
5 // The <code>chrome.hangoutsPrivate</code> API is used by Google Hangouts to
6 // wait on a request from Chrome to start a hangout.
7 // TODO(rkc): This API is temporary. We are working on plans which include
8 // replacing this with a scheme based solution which might be implemented
9 // using registerProtocolHandler, but we are still finishing that design.
10 // See crbug.com/306672
11 namespace hangoutsPrivate
{
13 enum HangoutType
{chat
, video
, audio
};
16 // GAIA obfuscated id of the user.
20 dictionary HangoutRequest
{
21 // Email of the user sending this request. This has to match the logged in
22 // user otherwise the hangout will not be opened.
25 // A list of users with whom to start this hangout with.
28 // Type of hangout request.
33 // Fired when Chrome wants to request a new hangout be opened up with a
34 // user (or set of users).
35 static
void onHangoutRequested
(HangoutRequest request
);