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

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

Issue 10916322: app_list: Make contact results use the RTC extension API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge 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 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
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 #ifndef CHROME_BROWSER_EXTENSIONS_API_RTC_PRIVATE_RTC_PRIVATE_API_H_ 4 #ifndef CHROME_BROWSER_EXTENSIONS_API_RTC_PRIVATE_RTC_PRIVATE_API_H_
5 #define CHROME_BROWSER_EXTENSIONS_API_RTC_PRIVATE_RTC_PRIVATE_API_H_ 5 #define CHROME_BROWSER_EXTENSIONS_API_RTC_PRIVATE_RTC_PRIVATE_API_H_
6 6
7 class Profile; 7 class Profile;
8 8
9 namespace contacts { 9 namespace contacts {
10 class Contact; 10 class Contact;
(...skipping 11 matching lines...) Expand all
22 LAUNCH_VIDEO, 22 LAUNCH_VIDEO,
23 LAUNCH_VOICE, 23 LAUNCH_VOICE,
24 }; 24 };
25 25
26 // Raises chrome.rtcPrivate.onLaunch event which is used to launch the default 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 27 // RTC application in ChromeOS. |action| defines the context of the launch
28 // event. Optional |contact| information is passed as event payload if launch 28 // event. Optional |contact| information is passed as event payload if launch
29 // event is related to a particilar contact. 29 // event is related to a particilar contact.
30 static void DispatchLaunchEvent(Profile* profile, 30 static void DispatchLaunchEvent(Profile* profile,
31 LaunchAction action, 31 LaunchAction action,
32 contacts::Contact* contact); 32 const contacts::Contact* contact);
33 }; 33 };
34 34
35 } // namespace extensions 35 } // namespace extensions
36 36
37 #endif // CHROME_BROWSER_EXTENSIONS_API_RTC_PRIVATE_RTC_PRIVATE_API_H_ 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