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

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

Issue 943053003: Simple multi-url support for mojo apps (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: hate Created 5 years, 9 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
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
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 struct NodeInfo; 54 struct NodeInfo;
55 55
56 InternedURL InternURL(const GURL& app_url); 56 InternedURL InternURL(const GURL& app_url);
57 NodeInfo* GetNode(const NodeLocator& locator); 57 NodeInfo* GetNode(const NodeLocator& locator);
58 bool MoveNode(const NodeLocator& source, const NodeLocator& dest); 58 bool MoveNode(const NodeLocator& source, const NodeLocator& dest);
59 void Mark(InternedURL app_url, std::set<InternedURL>* marked); 59 void Mark(InternedURL app_url, std::set<InternedURL>* marked);
60 void Collect(); 60 void Collect();
61 61
62 // mojo::ApplicationDelegate 62 // mojo::ApplicationDelegate
63 bool ConfigureIncomingConnection( 63 bool ConfigureIncomingConnection(
64 mojo::ApplicationConnection* connection) override; 64 mojo::ApplicationConnection* connection,
65 const std::string& url) override;
65 66
66 // mojo::InterfaceFactory<Reaper> 67 // mojo::InterfaceFactory<Reaper>
67 void Create(mojo::ApplicationConnection* connection, 68 void Create(mojo::ApplicationConnection* connection,
68 mojo::InterfaceRequest<Reaper> request) override; 69 mojo::InterfaceRequest<Reaper> request) override;
69 70
70 // mojo::InterfaceFactory<Diagnostics> 71 // mojo::InterfaceFactory<Diagnostics>
71 void Create(mojo::ApplicationConnection* connection, 72 void Create(mojo::ApplicationConnection* connection,
72 mojo::InterfaceRequest<Diagnostics> request) override; 73 mojo::InterfaceRequest<Diagnostics> request) override;
73 74
74 // Diagnostics 75 // Diagnostics
(...skipping 27 matching lines...) Expand all
102 103
103 std::set<InternedURL> roots_; 104 std::set<InternedURL> roots_;
104 ScythePtr scythe_; 105 ScythePtr scythe_;
105 106
106 DISALLOW_COPY_AND_ASSIGN(ReaperImpl); 107 DISALLOW_COPY_AND_ASSIGN(ReaperImpl);
107 }; 108 };
108 109
109 #endif // SERVICES_REAPER_REAPER_IMPL_H_ 110 #endif // SERVICES_REAPER_REAPER_IMPL_H_
110 111
111 } // namespace reaper 112 } // namespace reaper
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698