Backout a74bd5095902, Bug 959405 - Please update the Buri Moz-central, 1.3, 1.2 with...
[gecko.git] / dom / camera / FallbackCameraManager.cpp
blobd097ba86a0ae5e0502f88551bdd99383c0583f1e
1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
3 * You can obtain one at http://mozilla.org/MPL/2.0/. */
5 #include "DOMCameraManager.h"
7 #include "mozilla/ErrorResult.h"
9 using namespace mozilla;
11 // From nsDOMCameraManager.
12 nsresult
13 nsDOMCameraManager::GetNumberOfCameras(int32_t& aDeviceCount)
15 return NS_ERROR_NOT_IMPLEMENTED;
18 nsresult
19 nsDOMCameraManager::GetCameraName(uint32_t aDeviceNum, nsCString& aDeviceName)
21 return NS_ERROR_NOT_IMPLEMENTED;
24 void
25 nsDOMCameraManager::GetListOfCameras(nsTArray<nsString>& aList, ErrorResult& aRv)
27 aRv.Throw(NS_ERROR_NOT_IMPLEMENTED);