summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/api/chrome_device_permissions_prompt.h
blob: 25672752188bcdb721d1b58065cbda02ecc5c194 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Copyright 2014 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_CHROME_DEVICE_PERMISSIONS_PROMPT_H_
#define CHROME_BROWSER_EXTENSIONS_API_CHROME_DEVICE_PERMISSIONS_PROMPT_H_

#include "extensions/browser/api/device_permissions_prompt.h"

class ChromeDevicePermissionsPrompt
    : public extensions::DevicePermissionsPrompt {
 public:
  explicit ChromeDevicePermissionsPrompt(content::WebContents* web_contents)
      : extensions::DevicePermissionsPrompt(web_contents) {}

  ~ChromeDevicePermissionsPrompt() override {}

 private:
  void ShowDialog() override;
};

#endif  // CHROME_BROWSER_EXTENSIONS_API_CHROME_DEVICE_PERMISSIONS_PROMPT_H_