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

Unified Diff: services/catalog/entry.cc

Issue 2230283003: Revert of Establish MojoChildConnection from BrowserChildProcessHostImpl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@renderer-channel
Patch Set: Created 4 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « services/catalog/entry.h ('k') | services/catalog/reader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/catalog/entry.cc
diff --git a/services/catalog/entry.cc b/services/catalog/entry.cc
index 1ba94e8d2a5bd3cd1e5b8f58865296f3cf7cf101..26c266b86f6e1630db05ea698ceb0fea4b44e534 100644
--- a/services/catalog/entry.cc
+++ b/services/catalog/entry.cc
@@ -123,6 +123,7 @@
Entry::Entry() {}
Entry::Entry(const std::string& name)
: name_(name), qualifier_(shell::GetNamePath(name)), display_name_(name) {}
+Entry::Entry(const Entry& other) = default;
Entry::~Entry() {}
std::unique_ptr<base::DictionaryValue> Entry::Serialize() const {
@@ -240,7 +241,7 @@
if (child) {
child->set_package(entry.get());
// Caller must assume ownership of these items.
- entry->children_.emplace_back(std::move(child));
+ entry->services_.insert(child.release());
}
}
}
« no previous file with comments | « services/catalog/entry.h ('k') | services/catalog/reader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698