OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 #ifndef REMOTING_HOST_DIFFER_H_ | 5 #ifndef REMOTING_HOST_DIFFER_H_ |
6 #define REMOTING_HOST_DIFFER_H_ | 6 #define REMOTING_HOST_DIFFER_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 int width_; | 64 int width_; |
65 int height_; | 65 int height_; |
66 | 66 |
67 // Number of bytes for each pixel in source and dest bitmap. | 67 // Number of bytes for each pixel in source and dest bitmap. |
68 int bytes_per_pixel_; | 68 int bytes_per_pixel_; |
69 | 69 |
70 // Number of bytes in each row of the image. | 70 // Number of bytes in each row of the image. |
71 int bytes_per_row_; | 71 int bytes_per_row_; |
72 | 72 |
73 // Diff information for each block in the image. | 73 // Diff information for each block in the image. |
74 scoped_ptr<DiffInfo> diff_info_; | 74 scoped_array<DiffInfo> diff_info_; |
75 | 75 |
76 // Dimensions and total size of diff info array. | 76 // Dimensions and total size of diff info array. |
77 int diff_info_width_; | 77 int diff_info_width_; |
78 int diff_info_height_; | 78 int diff_info_height_; |
79 int diff_info_size_; | 79 int diff_info_size_; |
80 | 80 |
81 DISALLOW_COPY_AND_ASSIGN(Differ); | 81 DISALLOW_COPY_AND_ASSIGN(Differ); |
82 }; | 82 }; |
83 | 83 |
84 } // namespace remoting | 84 } // namespace remoting |
85 | 85 |
86 #endif // REMOTING_HOST_DIFFER_H_ | 86 #endif // REMOTING_HOST_DIFFER_H_ |
OLD | NEW |