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

Side by Side Diff: courgette/ensemble_apply.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. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « courgette/ensemble.cc ('k') | gfx/native_widget_types_gtk.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) 2009 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 // This file contains the code to apply a Courgette patch. 5 // This file contains the code to apply a Courgette patch.
6 6
7 #include "courgette/ensemble.h" 7 #include "courgette/ensemble.h"
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/file_util.h" 10 #include "base/file_util.h"
11 #include "base/logging.h"
12 11
13 #include "courgette/crc.h" 12 #include "courgette/crc.h"
14 #include "courgette/image_info.h" 13 #include "courgette/image_info.h"
15 #include "courgette/region.h" 14 #include "courgette/region.h"
16 #include "courgette/streams.h" 15 #include "courgette/streams.h"
17 #include "courgette/simple_delta.h" 16 #include "courgette/simple_delta.h"
18 #include "courgette/win32_x86_patcher.h" 17 #include "courgette/win32_x86_patcher.h"
19 18
20 namespace courgette { 19 namespace courgette {
21 20
(...skipping 381 matching lines...) Expand 10 before | Expand all | Expand 10 after
403 new_sink_stream.Length()); 402 new_sink_stream.Length());
404 if (written == -1) 403 if (written == -1)
405 return C_WRITE_OPEN_ERROR; 404 return C_WRITE_OPEN_ERROR;
406 if (static_cast<size_t>(written) != new_sink_stream.Length()) 405 if (static_cast<size_t>(written) != new_sink_stream.Length())
407 return C_WRITE_ERROR; 406 return C_WRITE_ERROR;
408 407
409 return C_OK; 408 return C_OK;
410 } 409 }
411 410
412 } // namespace 411 } // namespace
OLDNEW
« no previous file with comments | « courgette/ensemble.cc ('k') | gfx/native_widget_types_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698