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

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

Issue 1410053006: Move third_party/mojo/src/mojo/public to mojo/public (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 5 years, 1 month 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 "device/devices_app/usb/public/interfaces/permission_provider.mojom.h" 8 #include "device/devices_app/usb/public/interfaces/permission_provider.mojom.h"
9 #include "mojo/common/weak_binding_set.h" 9 #include "mojo/common/weak_binding_set.h"
10 #include "third_party/mojo/src/mojo/public/cpp/bindings/array.h" 10 #include "mojo/public/cpp/bindings/array.h"
11 #include "third_party/mojo/src/mojo/public/cpp/bindings/interface_request.h" 11 #include "mojo/public/cpp/bindings/interface_request.h"
12 12
13 namespace device { 13 namespace device {
14 namespace usb { 14 namespace usb {
15 15
16 class FakePermissionProvider : public PermissionProvider { 16 class FakePermissionProvider : public PermissionProvider {
17 public: 17 public:
18 FakePermissionProvider(); 18 FakePermissionProvider();
19 ~FakePermissionProvider() override; 19 ~FakePermissionProvider() override;
20 20
21 void HasDevicePermission( 21 void HasDevicePermission(
(...skipping 11 matching lines...) Expand all
33 void Bind(mojo::InterfaceRequest<PermissionProvider> request) override; 33 void Bind(mojo::InterfaceRequest<PermissionProvider> request) override;
34 34
35 private: 35 private:
36 mojo::WeakBindingSet<PermissionProvider> bindings_; 36 mojo::WeakBindingSet<PermissionProvider> bindings_;
37 }; 37 };
38 38
39 } // namespace usb 39 } // namespace usb
40 } // namespace device 40 } // namespace device
41 41
42 #endif // DEVICE_USB_FAKE_PERMISSION_PROVIDER_H_ 42 #endif // DEVICE_USB_FAKE_PERMISSION_PROVIDER_H_
OLDNEW
« no previous file with comments | « device/devices_app/usb/device_manager_impl.cc ('k') | device/devices_app/usb/public/interfaces/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698