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

Unified Diff: trunk/src/chrome/browser/extensions/api/audio/audio_service.h

Issue 14655010: Revert 198556 "Implement the rest of the audio API." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 7 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: trunk/src/chrome/browser/extensions/api/audio/audio_service.h
===================================================================
--- trunk/src/chrome/browser/extensions/api/audio/audio_service.h (revision 198567)
+++ trunk/src/chrome/browser/extensions/api/audio/audio_service.h (working copy)
@@ -13,7 +13,6 @@
typedef std::vector<linked_ptr<api::audio::OutputDeviceInfo> > OutputInfo;
typedef std::vector<linked_ptr<api::audio::InputDeviceInfo> > InputInfo;
-typedef std::vector<std::string> DeviceIdList;
class AudioService {
public:
@@ -43,16 +42,6 @@
// The |callback| will be invoked once the query is completed.
virtual void StartGetInfo(const GetInfoCallback& callback) = 0;
- // Set the devices in the following list as active. This will only pick
- // the first input and first active devices to set to active.
- virtual void SetActiveDevices(const DeviceIdList& device_list) = 0;
-
- // Set the muted and volume/gain properties of a device.
- virtual bool SetDeviceProperties(const std::string& device_id,
- bool muted,
- int volume,
- int gain) = 0;
-
protected:
AudioService() {}

Powered by Google App Engine
This is Rietveld 408576698