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

Unified Diff: mojo/shell/public/cpp/capabilities.h

Issue 1825273002: Add more out of line copy ctors for complex classes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/edk/system/request_context.cc ('k') | mojo/shell/public/cpp/lib/capabilities.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/public/cpp/capabilities.h
diff --git a/mojo/shell/public/cpp/capabilities.h b/mojo/shell/public/cpp/capabilities.h
index 39bc387f4adb123f96d11cd508bd214c8c4ef194..24e1a7bee2e32d4c4e7917c0ed0c57382b18dfbb 100644
--- a/mojo/shell/public/cpp/capabilities.h
+++ b/mojo/shell/public/cpp/capabilities.h
@@ -23,6 +23,7 @@ using Name = std::string;
struct CapabilityRequest {
CapabilityRequest();
+ CapabilityRequest(const CapabilityRequest& other);
~CapabilityRequest();
bool operator==(const CapabilityRequest& other) const;
Classes classes;
@@ -31,6 +32,7 @@ struct CapabilityRequest {
struct CapabilitySpec {
CapabilitySpec();
+ CapabilitySpec(const CapabilitySpec& other);
~CapabilitySpec();
bool operator==(const CapabilitySpec& other) const;
std::map<Class, Interfaces> provided;
« no previous file with comments | « mojo/edk/system/request_context.cc ('k') | mojo/shell/public/cpp/lib/capabilities.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698