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

Side by Side Diff: services/reaper/reaper_impl.h

Issue 1250463002: Renames WeakBindingSet to BindingSet. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Rebasing Created 5 years, 5 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
« no previous file with comments | « services/kiosk_wm/navigator_host_impl.h ('k') | services/surfaces/surfaces_impl.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 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 SERVICES_REAPER_REAPER_IMPL_H_ 5 #ifndef SERVICES_REAPER_REAPER_IMPL_H_
6 #define SERVICES_REAPER_REAPER_IMPL_H_ 6 #define SERVICES_REAPER_REAPER_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 10
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "mojo/common/weak_binding_set.h" 12 #include "mojo/common/binding_set.h"
13 #include "mojo/public/cpp/application/application_delegate.h" 13 #include "mojo/public/cpp/application/application_delegate.h"
14 #include "mojo/public/cpp/application/interface_factory.h" 14 #include "mojo/public/cpp/application/interface_factory.h"
15 #include "mojo/public/cpp/bindings/array.h" 15 #include "mojo/public/cpp/bindings/array.h"
16 #include "mojo/public/cpp/bindings/callback.h" 16 #include "mojo/public/cpp/bindings/callback.h"
17 #include "services/reaper/diagnostics.mojom.h" 17 #include "services/reaper/diagnostics.mojom.h"
18 #include "services/reaper/reaper.mojom.h" 18 #include "services/reaper/reaper.mojom.h"
19 #include "services/reaper/scythe.mojom.h" 19 #include "services/reaper/scythe.mojom.h"
20 #include "url/gurl.h" 20 #include "url/gurl.h"
21 21
22 namespace mojo { 22 namespace mojo {
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 91
92 std::map<InternedURL, AppSecret> app_url_to_secret_; 92 std::map<InternedURL, AppSecret> app_url_to_secret_;
93 std::map<AppSecret, InternedURL> app_secret_to_url_; 93 std::map<AppSecret, InternedURL> app_secret_to_url_;
94 94
95 // TODO(aa): The values in at least the first-level map should probably be 95 // TODO(aa): The values in at least the first-level map should probably be
96 // heap-allocated. 96 // heap-allocated.
97 typedef std::map<uint32, NodeInfo> NodeMap; 97 typedef std::map<uint32, NodeInfo> NodeMap;
98 typedef std::map<InternedURL, NodeMap> AppMap; 98 typedef std::map<InternedURL, NodeMap> AppMap;
99 AppMap nodes_; 99 AppMap nodes_;
100 100
101 mojo::WeakBindingSet<Diagnostics> diagnostics_bindings_; 101 mojo::BindingSet<Diagnostics> diagnostics_bindings_;
102 102
103 std::set<InternedURL> roots_; 103 std::set<InternedURL> roots_;
104 ScythePtr scythe_; 104 ScythePtr scythe_;
105 105
106 DISALLOW_COPY_AND_ASSIGN(ReaperImpl); 106 DISALLOW_COPY_AND_ASSIGN(ReaperImpl);
107 }; 107 };
108 108
109 #endif // SERVICES_REAPER_REAPER_IMPL_H_ 109 #endif // SERVICES_REAPER_REAPER_IMPL_H_
110 110
111 } // namespace reaper 111 } // namespace reaper
OLDNEW
« no previous file with comments | « services/kiosk_wm/navigator_host_impl.h ('k') | services/surfaces/surfaces_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698