Chromium Code Reviews

Side by Side Diff: remoting/base/encoder_verbatim.cc

Issue 3176026: FBTF: Remove unneeded headers from base/ (part 7) (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | | Annotate | Revision Log
« no previous file with comments | « printing/printing_context.h ('k') | remoting/base/encoder_zlib.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 #include "remoting/base/encoder_verbatim.h" 5 #include "remoting/base/encoder_verbatim.h"
6 6
7 #include "base/logging.h"
7 #include "gfx/rect.h" 8 #include "gfx/rect.h"
8 #include "media/base/data_buffer.h" 9 #include "media/base/data_buffer.h"
9 #include "remoting/base/capture_data.h" 10 #include "remoting/base/capture_data.h"
10 #include "remoting/base/protocol_util.h" 11 #include "remoting/base/protocol_util.h"
11 #include "remoting/base/protocol/chromotocol.pb.h" 12 #include "remoting/base/protocol/chromotocol.pb.h"
12 13
13 namespace remoting { 14 namespace remoting {
14 15
15 using media::DataBuffer; 16 using media::DataBuffer;
16 17
(...skipping 69 matching lines...)
86 DCHECK_LE(row_size, capture_data->data_planes().strides[i]); 87 DCHECK_LE(row_size, capture_data->data_planes().strides[i]);
87 memcpy(out, in, width * bytes_per_pixel); 88 memcpy(out, in, width * bytes_per_pixel);
88 in += capture_data->data_planes().strides[i]; 89 in += capture_data->data_planes().strides[i];
89 out += row_size; 90 out += row_size;
90 } 91 }
91 } 92 }
92 return true; 93 return true;
93 } 94 }
94 95
95 } // namespace remoting 96 } // namespace remoting
OLDNEW
« no previous file with comments | « printing/printing_context.h ('k') | remoting/base/encoder_zlib.cc » ('j') | no next file with comments »

Powered by Google App Engine