Revert of Add button to add new FSP services to Files app. (patchset #8 id:140001...
[chromium-blink-merge.git] / chrome / browser / media / midi_permission_context.h
blob1a357c2624d7e8bdbc65621cbe1c21f414a31b3c
1 // Copyright 2013 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 #ifndef CHROME_BROWSER_MEDIA_MIDI_PERMISSION_CONTEXT_H_
6 #define CHROME_BROWSER_MEDIA_MIDI_PERMISSION_CONTEXT_H_
8 #include "chrome/browser/content_settings/permission_context_base.h"
10 class GURL;
11 class PermissionRequestID;
13 class MidiPermissionContext : public PermissionContextBase {
14 public:
15 explicit MidiPermissionContext(Profile* profile);
16 ~MidiPermissionContext() override;
18 private:
20 // PermissionContextBase:
21 void UpdateTabContext(const PermissionRequestID& id,
22 const GURL& requesting_frame,
23 bool allowed) override;
25 DISALLOW_COPY_AND_ASSIGN(MidiPermissionContext);
28 #endif // CHROME_BROWSER_MEDIA_MIDI_PERMISSION_CONTEXT_H_