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

Side by Side Diff: device/usb/mojo/fake_permission_provider.h

Issue 1682363002: Remove //device/devices_app. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove two files that somehow survived in //device/devices_app. Created 4 years, 10 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 DEVICE_USB_FAKE_PERMISSION_PROVIDER_H_ 5 #ifndef DEVICE_USB_FAKE_PERMISSION_PROVIDER_H_
6 #define DEVICE_USB_FAKE_PERMISSION_PROVIDER_H_ 6 #define DEVICE_USB_FAKE_PERMISSION_PROVIDER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "device/devices_app/usb/public/interfaces/permission_provider.mojom.h" 10 #include "device/usb/public/interfaces/permission_provider.mojom.h"
11 #include "mojo/common/weak_binding_set.h" 11 #include "mojo/common/weak_binding_set.h"
12 #include "mojo/public/cpp/bindings/array.h" 12 #include "mojo/public/cpp/bindings/array.h"
13 #include "mojo/public/cpp/bindings/interface_request.h" 13 #include "mojo/public/cpp/bindings/interface_request.h"
14 14
15 namespace device { 15 namespace device {
16 namespace usb { 16 namespace usb {
17 17
18 class FakePermissionProvider : public PermissionProvider { 18 class FakePermissionProvider : public PermissionProvider {
19 public: 19 public:
20 FakePermissionProvider(); 20 FakePermissionProvider();
(...skipping 14 matching lines...) Expand all
35 void Bind(mojo::InterfaceRequest<PermissionProvider> request) override; 35 void Bind(mojo::InterfaceRequest<PermissionProvider> request) override;
36 36
37 private: 37 private:
38 mojo::WeakBindingSet<PermissionProvider> bindings_; 38 mojo::WeakBindingSet<PermissionProvider> bindings_;
39 }; 39 };
40 40
41 } // namespace usb 41 } // namespace usb
42 } // namespace device 42 } // namespace device
43 43
44 #endif // DEVICE_USB_FAKE_PERMISSION_PROVIDER_H_ 44 #endif // DEVICE_USB_FAKE_PERMISSION_PROVIDER_H_
OLDNEW
« no previous file with comments | « device/usb/mojo/device_manager_impl_unittest.cc ('k') | device/usb/mojo/fake_permission_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698