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

Unified Diff: mojo/services/gfx/images/cpp/image_pipe_endpoint.h

Issue 2229573002: Change the canonical way to include the C macros.h to <mojo/macros.h>. (Closed) Base URL: https://github.com/domokit/mojo.git@master
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
Index: mojo/services/gfx/images/cpp/image_pipe_endpoint.h
diff --git a/mojo/services/gfx/images/cpp/image_pipe_endpoint.h b/mojo/services/gfx/images/cpp/image_pipe_endpoint.h
index b53bfaacf7a899131ee4b8d493e05130c6ee8dd5..a2094a8135c9234e454032af3ad431c25d64ea1c 100644
--- a/mojo/services/gfx/images/cpp/image_pipe_endpoint.h
+++ b/mojo/services/gfx/images/cpp/image_pipe_endpoint.h
@@ -11,7 +11,7 @@
#include <unordered_set>
#include <vector>
-#include "mojo/public/c/system/macros.h"
+#include "mojo/public/cpp/system/macros.h"
#include "mojo/services/gfx/images/interfaces/image_pipe.mojom.h"
namespace image_pipe {
@@ -75,7 +75,10 @@ class ImagePipeEndpoint {
bool is_producer_;
bool is_checked_;
std::function<void()> fatal_error_handler_;
+
+ MOJO_DISALLOW_COPY_AND_ASSIGN(ImagePipeEndpoint);
};
-}
+
+} // namespace image_pipe
#endif // MOJO_SERVICES_GFX_IMAGES_CPP_IMAGE_PIPE_ENDPOINT_H_

Powered by Google App Engine
This is Rietveld 408576698