Chromium Code Reviews| 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_ |