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

Side by Side Diff: tools/win/supalink/supalink.cpp

Issue 9958156: Add #include <iterator> to files that use std::back_inserter. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 8 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 <windows.h> 5 #include <windows.h>
6 #include <algorithm> 6 #include <algorithm>
7 #include <iterator>
brettw 2012/04/04 15:39:14 Can you also fix this case to move <algorithm> <st
halyavin 2012/04/04 16:12:01 Done.
7 #include <stdio.h> 8 #include <stdio.h>
8 #include <stdlib.h> 9 #include <stdlib.h>
9 #include <string> 10 #include <string>
10 11
11 using namespace std; 12 using namespace std;
12 13
13 // Don't use stderr for errors because VS has large buffers on them, leading 14 // Don't use stderr for errors because VS has large buffers on them, leading
14 // to confusing error output. 15 // to confusing error output.
15 static void Fatal(const wchar_t* msg) { 16 static void Fatal(const wchar_t* msg) {
16 wprintf(L"supalink fatal error: %s\n", msg); 17 wprintf(L"supalink fatal error: %s\n", msg);
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 DumpFile(backup_copy.c_str(), fixed); 188 DumpFile(backup_copy.c_str(), fixed);
188 189
189 end_time = GetTickCount64(); 190 end_time = GetTickCount64();
190 191
191 wprintf(L" took %.2fs to modify @rsp file\n", 192 wprintf(L" took %.2fs to modify @rsp file\n",
192 (end_time - start_time) / 1000.0); 193 (end_time - start_time) / 1000.0);
193 } 194 }
194 195
195 Fallback(); 196 Fallback();
196 } 197 }
OLDNEW
« base/process_util_posix.cc ('K') | « chrome/browser/safe_browsing/prefix_set_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698