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

Unified Diff: chrome/common/extensions/api/rtc_private.idl

Issue 10919086: Wired chrome.rtcPrivate API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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
Index: chrome/common/extensions/api/rtc_private.idl
diff --git a/chrome/common/extensions/api/rtc_private.idl b/chrome/common/extensions/api/rtc_private.idl
new file mode 100644
index 0000000000000000000000000000000000000000..1d87b05e70c08a89cd32235d88e8764323bb4fb0
--- /dev/null
+++ b/chrome/common/extensions/api/rtc_private.idl
@@ -0,0 +1,26 @@
+// Copyright (c) 2012 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.
+
+namespace rtcPrivate {
+ dictionary LaunchIntent {
+ // Launch action.
+ DOMString action;
+
+ // Launch data payload.
+ DOMString data;
+
+ // MIME type.
+ DOMString type;
+ };
+
+ dictionary LaunchData {
+ // Launch intent.
+ LaunchIntent intent;
+ };
+
+ interface Events {
+ // Fired when an RTC launch event is raised.
+ static void onLaunch(optional LaunchData data);
+ };
+};

Powered by Google App Engine
This is Rietveld 408576698