OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 | 4 |
5 #include "remoting/host/chromeos/aura_desktop_capturer.h" | 5 #include "remoting/host/chromeos/aura_desktop_capturer.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 #include <stdint.h> |
| 9 |
7 #include "cc/output/copy_output_result.h" | 10 #include "cc/output/copy_output_result.h" |
8 #include "testing/gmock/include/gmock/gmock.h" | 11 #include "testing/gmock/include/gmock/gmock.h" |
9 #include "testing/gtest/include/gtest/gtest.h" | 12 #include "testing/gtest/include/gtest/gtest.h" |
10 #include "third_party/skia/include/core/SkBitmap.h" | 13 #include "third_party/skia/include/core/SkBitmap.h" |
11 #include "third_party/webrtc/modules/desktop_capture/desktop_frame.h" | 14 #include "third_party/webrtc/modules/desktop_capture/desktop_frame.h" |
12 | 15 |
13 using testing::_; | 16 using testing::_; |
14 using testing::SaveArg; | 17 using testing::SaveArg; |
15 | 18 |
16 namespace remoting { | 19 namespace remoting { |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 uint8_t* captured_data = captured_frame->data(); | 79 uint8_t* captured_data = captured_frame->data(); |
77 EXPECT_EQ( | 80 EXPECT_EQ( |
78 0, | 81 0, |
79 memcmp( | 82 memcmp( |
80 frame_data, captured_data, sizeof(frame_data))); | 83 frame_data, captured_data, sizeof(frame_data))); |
81 | 84 |
82 delete captured_frame; | 85 delete captured_frame; |
83 } | 86 } |
84 | 87 |
85 } // namespace remoting | 88 } // namespace remoting |
OLD | NEW |