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

Side by Side Diff: chrome/browser/extensions/api/webcam_private/webcam_private_api.h

Issue 205243005: Add chrome.webcamPrivate idl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix unittest Created 6 years, 8 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/webcam_private/webcam_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
(Empty)
1 // Copyright (c) 2014 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.
4
5 #ifndef CHROME_BROWSER_EXTENSIONS_API_WEBCAM_PRIVATE_WEBCAM_PRIVATE_API_H_
6 #define CHROME_BROWSER_EXTENSIONS_API_WEBCAM_PRIVATE_WEBCAM_PRIVATE_API_H_
7
8 #include "extensions/browser/extension_function.h"
9
10 class Profile;
11
12 namespace extensions {
13
14 class WebcamPrivateSetFunction : public SyncExtensionFunction {
15 public:
16 WebcamPrivateSetFunction();
17 DECLARE_EXTENSION_FUNCTION("webcamPrivate.set", WEBCAMPRIVATE_SET);
18
19 protected:
20 virtual ~WebcamPrivateSetFunction();
21 virtual bool RunImpl() OVERRIDE;
22
23 private:
24 DISALLOW_COPY_AND_ASSIGN(WebcamPrivateSetFunction);
25 };
26
27 class WebcamPrivateGetFunction : public SyncExtensionFunction {
28 public:
29 WebcamPrivateGetFunction();
30 DECLARE_EXTENSION_FUNCTION("webcamPrivate.get", WEBCAMPRIVATE_GET);
31
32 protected:
33 virtual ~WebcamPrivateGetFunction();
34 virtual bool RunImpl() OVERRIDE;
35
36 private:
37 DISALLOW_COPY_AND_ASSIGN(WebcamPrivateGetFunction);
38 };
39
40 class WebcamPrivateResetFunction : public SyncExtensionFunction {
41 public:
42 WebcamPrivateResetFunction();
43 DECLARE_EXTENSION_FUNCTION("webcamPrivate.reset", WEBCAMPRIVATE_RESET);
44
45 protected:
46 virtual ~WebcamPrivateResetFunction();
47 virtual bool RunImpl() OVERRIDE;
48
49 private:
50 DISALLOW_COPY_AND_ASSIGN(WebcamPrivateResetFunction);
51 };
52
53 } // namespace extensions
54
55 #endif // CHROME_BROWSER_EXTENSIONS_API_WEBCAM_PRIVATE_WEBCAM_PRIVATE_API_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/extensions/api/webcam_private/webcam_private_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698