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

Side by Side Diff: services/navigation/navigation.h

Issue 2537343006: services: Cleanup class/struct fwd declarations (Closed)
Patch Set: Rebase on top of master #2 Created 4 years 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
« no previous file with comments | « no previous file | services/preferences/public/cpp/pref_observer_store.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/service_manager/public/cpp/interface_factory.h" 14 #include "services/service_manager/public/cpp/interface_factory.h"
15 #include "services/service_manager/public/cpp/service.h" 15 #include "services/service_manager/public/cpp/service.h"
16 #include "services/service_manager/public/cpp/service_context_ref.h" 16 #include "services/service_manager/public/cpp/service_context_ref.h"
17 17
18 namespace content {
19 class BrowserContext;
20 }
21
22 namespace navigation { 18 namespace navigation {
23 19
24 std::unique_ptr<service_manager::Service> CreateNavigationService(); 20 std::unique_ptr<service_manager::Service> CreateNavigationService();
25 21
26 class Navigation : public service_manager::Service, public mojom::ViewFactory { 22 class Navigation : public service_manager::Service, public mojom::ViewFactory {
27 public: 23 public:
28 Navigation(); 24 Navigation();
29 ~Navigation() override; 25 ~Navigation() override;
30 26
31 private: 27 private:
(...skipping 18 matching lines...) Expand all
50 mojo::BindingSet<mojom::ViewFactory> bindings_; 46 mojo::BindingSet<mojom::ViewFactory> bindings_;
51 47
52 base::WeakPtrFactory<Navigation> weak_factory_; 48 base::WeakPtrFactory<Navigation> weak_factory_;
53 49
54 DISALLOW_COPY_AND_ASSIGN(Navigation); 50 DISALLOW_COPY_AND_ASSIGN(Navigation);
55 }; 51 };
56 52
57 } // navigation 53 } // navigation
58 54
59 #endif // SERVICES_NAVIGATION_NAVIGATION_H_ 55 #endif // SERVICES_NAVIGATION_NAVIGATION_H_
OLDNEW
« no previous file with comments | « no previous file | services/preferences/public/cpp/pref_observer_store.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698