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

Side by Side Diff: chrome/browser/extensions/api/rtc_private/rtc_private_api.h

Issue 23731011: Removed chrome.rtcPrivate API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 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 | « no previous file | chrome/browser/extensions/api/rtc_private/rtc_private_api.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2012 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.
4 #ifndef CHROME_BROWSER_EXTENSIONS_API_RTC_PRIVATE_RTC_PRIVATE_API_H_
5 #define CHROME_BROWSER_EXTENSIONS_API_RTC_PRIVATE_RTC_PRIVATE_API_H_
6
7 class Profile;
8
9 namespace contacts {
10 class Contact;
11 }
12
13 namespace extensions {
14
15 // Implementation of chrome.rtcPrivate API.
16 class RtcPrivateEventRouter {
17 public:
18 // Contact launch intent action.
19 enum LaunchAction {
20 LAUNCH_ACTIVATE,
21 LAUNCH_CHAT,
22 LAUNCH_VIDEO,
23 LAUNCH_VOICE,
24 };
25
26 // Raises chrome.rtcPrivate.onLaunch event which is used to launch the default
27 // RTC application in ChromeOS. |action| defines the context of the launch
28 // event. Optional |contact| information is passed as event payload if launch
29 // event is related to a particilar contact.
30 static void DispatchLaunchEvent(Profile* profile,
31 LaunchAction action,
32 const contacts::Contact* contact);
33 };
34
35 } // namespace extensions
36
37 #endif // CHROME_BROWSER_EXTENSIONS_API_RTC_PRIVATE_RTC_PRIVATE_API_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/extensions/api/rtc_private/rtc_private_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698