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

Unified Diff: chrome/browser/extensions/api/rtc_private/rtc_private_api.h

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/browser/extensions/api/rtc_private/rtc_private_api.h
diff --git a/chrome/browser/extensions/api/rtc_private/rtc_private_api.h b/chrome/browser/extensions/api/rtc_private/rtc_private_api.h
new file mode 100644
index 0000000000000000000000000000000000000000..1d99b51c4e24e493ed3572ea5c9e0c6141849729
--- /dev/null
+++ b/chrome/browser/extensions/api/rtc_private/rtc_private_api.h
@@ -0,0 +1,32 @@
+// 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.
+#ifndef CHROME_BROWSER_EXTENSIONS_API_RTC_PRIVATE_RTC_PRIVATE_H_
+#define CHROME_BROWSER_EXTENSIONS_API_RTC_PRIVATE_RTC_PRIVATE_H_
+
+class Profile;
+
+namespace contacts {
+class Contact;
+}
+
+namespace extensions {
+
+class RtcPrivateApi {
Daniel Erat 2012/09/05 19:28:32 nit: add a comment describing what this is for, e.
zel 2012/09/05 19:56:03 Done.
+ public:
+ // Contact launch intent action.
+ enum LaunchAction {
+ LAUNCH_ACTIVATE,
+ LAUNCH_CHAT,
+ LAUNCH_VIDEO,
+ LAUNCH_VOICE,
+ };
+
+ static void RaiseLaunchEvent(Profile* profile,
+ LaunchAction action,
+ contacts::Contact* contact);
+};
+
+} // namespace chromeos
Daniel Erat 2012/09/05 19:28:32 nit: fix comment
zel 2012/09/05 19:56:03 Done.
+
+#endif // CHROME_BROWSER_EXTENSIONS_API_RTC_PRIVATE_RTC_PRIVATE_H_

Powered by Google App Engine
This is Rietveld 408576698