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

Unified Diff: mojo/public/cpp/bindings/strong_binding.h

Issue 868463008: Remove Client relationship between mojo.Shell/mojo.Application (Closed) Base URL: git@github.com:domokit/mojo.git@app_impl_init
Patch Set: fix android Created 5 years, 11 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
Index: mojo/public/cpp/bindings/strong_binding.h
diff --git a/mojo/public/cpp/bindings/strong_binding.h b/mojo/public/cpp/bindings/strong_binding.h
index 0cd4f03beb8838e8018fad6017d6da96b35a634e..7caf54abcb5e06136341057f4664074c6883f278 100644
--- a/mojo/public/cpp/bindings/strong_binding.h
+++ b/mojo/public/cpp/bindings/strong_binding.h
@@ -45,6 +45,8 @@ namespace mojo {
// };
template <typename Interface>
class StrongBinding : public ErrorHandler {
+ MOJO_MOVE_ONLY_TYPE(StrongBinding)
+
public:
explicit StrongBinding(Interface* impl) : binding_(impl) {
binding_.set_error_handler(this);

Powered by Google App Engine
This is Rietveld 408576698