| OLD | NEW | 
|   1 // Copyright 2013 The Chromium Authors. All rights reserved. |   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 |   2 // Use of this source code is governed by a BSD-style license that can be | 
|   3 // found in the LICENSE file. |   3 // found in the LICENSE file. | 
|   4  |   4  | 
|   5 #ifndef CONTENT_BROWSER_MEDIA_MIDI_DISPATCHER_HOST_H_ |   5 #ifndef CONTENT_BROWSER_MEDIA_MIDI_DISPATCHER_HOST_H_ | 
|   6 #define CONTENT_BROWSER_MEDIA_MIDI_DISPATCHER_HOST_H_ |   6 #define CONTENT_BROWSER_MEDIA_MIDI_DISPATCHER_HOST_H_ | 
|   7  |   7  | 
|   8 #include <vector> |   8 #include <vector> | 
|   9  |   9  | 
|  10 #include "base/callback_forward.h" |  10 #include "base/callback_forward.h" | 
| (...skipping 28 matching lines...) Expand all  Loading... | 
|  39                                  bool is_allowed); |  39                                  bool is_allowed); | 
|  40  |  40  | 
|  41   struct PendingPermission { |  41   struct PendingPermission { | 
|  42     PendingPermission(int render_process_id, |  42     PendingPermission(int render_process_id, | 
|  43                       int render_frame_id, |  43                       int render_frame_id, | 
|  44                       int bridge_id); |  44                       int bridge_id); | 
|  45     ~PendingPermission(); |  45     ~PendingPermission(); | 
|  46     int render_process_id; |  46     int render_process_id; | 
|  47     int render_frame_id; |  47     int render_frame_id; | 
|  48     int bridge_id; |  48     int bridge_id; | 
|  49     base::Closure cancel; |  | 
|  50   }; |  49   }; | 
|  51   std::vector<PendingPermission> pending_permissions_; |  50   std::vector<PendingPermission> pending_permissions_; | 
|  52  |  51  | 
|  53   base::WeakPtrFactory<MidiDispatcherHost> weak_factory_; |  52   base::WeakPtrFactory<MidiDispatcherHost> weak_factory_; | 
|  54  |  53  | 
|  55   DISALLOW_COPY_AND_ASSIGN(MidiDispatcherHost); |  54   DISALLOW_COPY_AND_ASSIGN(MidiDispatcherHost); | 
|  56 }; |  55 }; | 
|  57  |  56  | 
|  58 }  // namespace content |  57 }  // namespace content | 
|  59  |  58  | 
|  60 #endif  // CONTENT_BROWSER_MEDIA_MIDI_DISPATCHER_HOST_H_ |  59 #endif  // CONTENT_BROWSER_MEDIA_MIDI_DISPATCHER_HOST_H_ | 
| OLD | NEW |