1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "extensions/browser/api/webcam_private/webcam.h"
12 WebcamResource::WebcamResource(const std::string
& owner_extension_id
,
14 const std::string
& webcam_id
)
15 : ApiResource(owner_extension_id
), webcam_(webcam
), webcam_id_(webcam_id
) {
18 WebcamResource::~WebcamResource() {
21 Webcam
* WebcamResource::GetWebcam() const {
25 const std::string
WebcamResource::GetWebcamId() const {
29 bool WebcamResource::IsPersistent() const {
33 } // namespace extensions