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

Unified 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, 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
« no previous file with comments | « no previous file | chrome/browser/extensions/api/rtc_private/rtc_private_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
deleted file mode 100644
index 2431cbc255927d7746615131e0697a59925534ed..0000000000000000000000000000000000000000
--- a/chrome/browser/extensions/api/rtc_private/rtc_private_api.h
+++ /dev/null
@@ -1,37 +0,0 @@
-// 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_API_H_
-#define CHROME_BROWSER_EXTENSIONS_API_RTC_PRIVATE_RTC_PRIVATE_API_H_
-
-class Profile;
-
-namespace contacts {
-class Contact;
-}
-
-namespace extensions {
-
-// Implementation of chrome.rtcPrivate API.
-class RtcPrivateEventRouter {
- public:
- // Contact launch intent action.
- enum LaunchAction {
- LAUNCH_ACTIVATE,
- LAUNCH_CHAT,
- LAUNCH_VIDEO,
- LAUNCH_VOICE,
- };
-
- // Raises chrome.rtcPrivate.onLaunch event which is used to launch the default
- // RTC application in ChromeOS. |action| defines the context of the launch
- // event. Optional |contact| information is passed as event payload if launch
- // event is related to a particilar contact.
- static void DispatchLaunchEvent(Profile* profile,
- LaunchAction action,
- const contacts::Contact* contact);
-};
-
-} // namespace extensions
-
-#endif // CHROME_BROWSER_EXTENSIONS_API_RTC_PRIVATE_RTC_PRIVATE_API_H_
« 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