| OLD | NEW |
| 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 COMPONENTS_RESOURCE_PROVIDER_RESOURCE_PROVIDER_APP_H_ | 5 #ifndef COMPONENTS_RESOURCE_PROVIDER_RESOURCE_PROVIDER_APP_H_ |
| 6 #define COMPONENTS_RESOURCE_PROVIDER_RESOURCE_PROVIDER_APP_H_ | 6 #define COMPONENTS_RESOURCE_PROVIDER_RESOURCE_PROVIDER_APP_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 | 9 |
| 10 #include "components/resource_provider/public/interfaces/resource_provider.mojom
.h" | 10 #include "components/resource_provider/public/interfaces/resource_provider.mojom
.h" |
| 11 #include "mojo/application/public/cpp/application_delegate.h" |
| 12 #include "mojo/application/public/cpp/interface_factory.h" |
| 11 #include "mojo/common/weak_binding_set.h" | 13 #include "mojo/common/weak_binding_set.h" |
| 12 #include "third_party/mojo/src/mojo/public/cpp/application/application_delegate.
h" | |
| 13 #include "third_party/mojo/src/mojo/public/cpp/application/interface_factory.h" | |
| 14 #include "third_party/mojo/src/mojo/public/cpp/bindings/binding.h" | 14 #include "third_party/mojo/src/mojo/public/cpp/bindings/binding.h" |
| 15 #include "third_party/mojo/src/mojo/public/cpp/bindings/error_handler.h" | 15 #include "third_party/mojo/src/mojo/public/cpp/bindings/error_handler.h" |
| 16 | 16 |
| 17 namespace mojo { | 17 namespace mojo { |
| 18 class ApplicationImpl; | 18 class ApplicationImpl; |
| 19 } | 19 } |
| 20 | 20 |
| 21 namespace resource_provider { | 21 namespace resource_provider { |
| 22 | 22 |
| 23 class ResourceProviderApp : public mojo::ApplicationDelegate, | 23 class ResourceProviderApp : public mojo::ApplicationDelegate, |
| (...skipping 13 matching lines...) Expand all Loading... |
| 37 mojo::InterfaceRequest<ResourceProvider> request) override; | 37 mojo::InterfaceRequest<ResourceProvider> request) override; |
| 38 | 38 |
| 39 mojo::WeakBindingSet<ResourceProvider> bindings_; | 39 mojo::WeakBindingSet<ResourceProvider> bindings_; |
| 40 | 40 |
| 41 DISALLOW_COPY_AND_ASSIGN(ResourceProviderApp); | 41 DISALLOW_COPY_AND_ASSIGN(ResourceProviderApp); |
| 42 }; | 42 }; |
| 43 | 43 |
| 44 } // namespace resource_provider | 44 } // namespace resource_provider |
| 45 | 45 |
| 46 #endif // COMPONENTS_RESOURCE_PROVIDER_RESOURCE_PROVIDER_APP_H_ | 46 #endif // COMPONENTS_RESOURCE_PROVIDER_RESOURCE_PROVIDER_APP_H_ |
| OLD | NEW |