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

Side by Side Diff: remoting/host/differ.h

Issue 2832043: Fixes leaks in remote_unittest.... (Closed) Base URL: svn://chrome-svn.corp.google.com/chrome/trunk/src/
Patch Set: Created 10 years, 5 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
« no previous file with comments | « no previous file | remoting/host/differ_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « no previous file | remoting/host/differ_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698