OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 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_BLUETOOTH_BLUETOOTH_PERMISSION_CONTEXT_H_ |
| 6 #define CHROME_BROWSER_BLUETOOTH_BLUETOOTH_PERMISSION_CONTEXT_H_ |
| 7 |
| 8 #include "base/macros.h" |
| 9 #include "chrome/browser/permissions/chooser_context_base.h" |
| 10 |
| 11 class BluetoothPermissionContext : public ChooserContextBase { |
| 12 public: |
| 13 explicit BluetoothPermissionContext(Profile* profile); |
| 14 ~BluetoothPermissionContext() override; |
| 15 |
| 16 private: |
| 17 // ChooserContextBase: |
| 18 bool IsValidObject(const base::DictionaryValue& object) override; |
| 19 |
| 20 DISALLOW_COPY_AND_ASSIGN(BluetoothPermissionContext); |
| 21 }; |
| 22 |
| 23 #endif // CHROME_BROWSER_BLUETOOTH_BLUETOOTH_PERMISSION_CONTEXT_H_ |
OLD | NEW |