OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 SERVICES_NAVIGATION_NAVIGATION_H_ | 5 #ifndef SERVICES_NAVIGATION_NAVIGATION_H_ |
6 #define SERVICES_NAVIGATION_NAVIGATION_H_ | 6 #define SERVICES_NAVIGATION_NAVIGATION_H_ |
7 | 7 |
8 #include "base/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
9 #include "base/memory/weak_ptr.h" | 9 #include "base/memory/weak_ptr.h" |
10 #include "base/sequenced_task_runner.h" | 10 #include "base/sequenced_task_runner.h" |
11 #include "content/public/common/connection_filter.h" | 11 #include "content/public/common/connection_filter.h" |
12 #include "mojo/public/cpp/bindings/binding_set.h" | 12 #include "mojo/public/cpp/bindings/binding_set.h" |
13 #include "services/navigation/public/interfaces/view.mojom.h" | 13 #include "services/navigation/public/interfaces/view.mojom.h" |
14 #include "services/shell/public/cpp/interface_factory.h" | 14 #include "services/service_manager/public/cpp/interface_factory.h" |
15 #include "services/shell/public/cpp/service.h" | 15 #include "services/service_manager/public/cpp/service.h" |
16 #include "services/shell/public/cpp/service_context_ref.h" | 16 #include "services/service_manager/public/cpp/service_context_ref.h" |
17 | 17 |
18 namespace content { | 18 namespace content { |
19 class BrowserContext; | 19 class BrowserContext; |
20 } | 20 } |
21 | 21 |
22 namespace navigation { | 22 namespace navigation { |
23 | 23 |
24 class Navigation : public content::ConnectionFilter, public mojom::ViewFactory { | 24 class Navigation : public content::ConnectionFilter, public mojom::ViewFactory { |
25 public: | 25 public: |
26 Navigation(); | 26 Navigation(); |
(...skipping 23 matching lines...) Expand all Loading... |
50 mojo::BindingSet<mojom::ViewFactory> bindings_; | 50 mojo::BindingSet<mojom::ViewFactory> bindings_; |
51 | 51 |
52 base::WeakPtrFactory<Navigation> weak_factory_; | 52 base::WeakPtrFactory<Navigation> weak_factory_; |
53 | 53 |
54 DISALLOW_COPY_AND_ASSIGN(Navigation); | 54 DISALLOW_COPY_AND_ASSIGN(Navigation); |
55 }; | 55 }; |
56 | 56 |
57 } // navigation | 57 } // navigation |
58 | 58 |
59 #endif // SERVICES_NAVIGATION_NAVIGATION_H_ | 59 #endif // SERVICES_NAVIGATION_NAVIGATION_H_ |
OLD | NEW |