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

Side by Side Diff: mojo/services/gfx/images/cpp/image_pipe_consumer_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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 #ifndef MOJO_SERVICES_GFX_IMAGES_INTERFACES_IMAGE_PIPE_CONSUMER_ENDPOINT_H_ 4 #ifndef MOJO_SERVICES_GFX_IMAGES_INTERFACES_IMAGE_PIPE_CONSUMER_ENDPOINT_H_
5 #define MOJO_SERVICES_GFX_IMAGES_INTERFACES_IMAGE_PIPE_CONSUMER_ENDPOINT_H_ 5 #define MOJO_SERVICES_GFX_IMAGES_INTERFACES_IMAGE_PIPE_CONSUMER_ENDPOINT_H_
6 6
7 #include "image_pipe_endpoint.h" 7 #include "image_pipe_endpoint.h"
8 #include "mojo/public/c/system/macros.h"
9 #include "mojo/public/cpp/bindings/strong_binding.h" 8 #include "mojo/public/cpp/bindings/strong_binding.h"
9 #include "mojo/public/cpp/system/macros.h"
10 #include "mojo/services/gfx/images/cpp/image_pipe_consumer_delegate.h" 10 #include "mojo/services/gfx/images/cpp/image_pipe_consumer_delegate.h"
11 #include "mojo/services/gfx/images/interfaces/image_pipe.mojom.h" 11 #include "mojo/services/gfx/images/interfaces/image_pipe.mojom.h"
12 12
13 namespace image_pipe { 13 namespace image_pipe {
14 14
15 // |ImagePipeConsumerEndpoint| is a state tracking wrapper for the consumer end 15 // |ImagePipeConsumerEndpoint| is a state tracking wrapper for the consumer end
16 // of an |ImagePipe| that enforces the constraints documented in the mojom 16 // of an |ImagePipe| that enforces the constraints documented in the mojom
17 // interface. Using |ImagePipeConsumerEndpoint| is not required to use 17 // interface. Using |ImagePipeConsumerEndpoint| is not required to use
18 // |ImagePipe|, but it may help you use it correctly 18 // |ImagePipe|, but it may help you use it correctly
19 class ImagePipeConsumerEndpoint : private mojo::gfx::ImagePipe { 19 class ImagePipeConsumerEndpoint : private mojo::gfx::ImagePipe {
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 ImagePipeConsumerDelegate* delegate_; 51 ImagePipeConsumerDelegate* delegate_;
52 52
53 mojo::Binding<mojo::gfx::ImagePipe> image_pipe_binding_; 53 mojo::Binding<mojo::gfx::ImagePipe> image_pipe_binding_;
54 54
55 MOJO_DISALLOW_COPY_AND_ASSIGN(ImagePipeConsumerEndpoint); 55 MOJO_DISALLOW_COPY_AND_ASSIGN(ImagePipeConsumerEndpoint);
56 }; 56 };
57 57
58 } // namespace image_pipe 58 } // namespace image_pipe
59 59
60 #endif // MOJO_SERVICES_GFX_IMAGES_INTERFACES_IMAGE_PIPE_CONSUMER_ENDPOINT_H_ 60 #endif // MOJO_SERVICES_GFX_IMAGES_INTERFACES_IMAGE_PIPE_CONSUMER_ENDPOINT_H_
OLDNEW
« no previous file with comments | « mojo/services/files/c/lib/file_fd_impl.h ('k') | mojo/services/gfx/images/cpp/image_pipe_endpoint.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698