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

Side by Side Diff: tools/android/memdump/memdump.cc

Issue 560883003: Cleanup: Use base/files/file_util.h instead of base/file_util.h in [r-t]*/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
« no previous file with comments | « tools/android/md5sum/md5sum.cc ('k') | tools/gn/build_settings.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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 <fcntl.h> 5 #include <fcntl.h>
6 #include <signal.h> 6 #include <signal.h>
7 #include <sys/types.h> 7 #include <sys/types.h>
8 #include <unistd.h> 8 #include <unistd.h>
9 9
10 #include <algorithm> 10 #include <algorithm>
11 #include <cstring> 11 #include <cstring>
12 #include <fstream> 12 #include <fstream>
13 #include <iostream> 13 #include <iostream>
14 #include <limits> 14 #include <limits>
15 #include <string> 15 #include <string>
16 #include <utility> 16 #include <utility>
17 #include <vector> 17 #include <vector>
18 18
19 #include "base/base64.h" 19 #include "base/base64.h"
20 #include "base/basictypes.h" 20 #include "base/basictypes.h"
21 #include "base/bind.h" 21 #include "base/bind.h"
22 #include "base/callback_helpers.h" 22 #include "base/callback_helpers.h"
23 #include "base/containers/hash_tables.h" 23 #include "base/containers/hash_tables.h"
24 #include "base/file_util.h" 24 #include "base/files/file_util.h"
25 #include "base/files/scoped_file.h" 25 #include "base/files/scoped_file.h"
26 #include "base/format_macros.h" 26 #include "base/format_macros.h"
27 #include "base/logging.h" 27 #include "base/logging.h"
28 #include "base/strings/string_number_conversions.h" 28 #include "base/strings/string_number_conversions.h"
29 #include "base/strings/string_split.h" 29 #include "base/strings/string_split.h"
30 #include "base/strings/stringprintf.h" 30 #include "base/strings/stringprintf.h"
31 31
32 const unsigned int kPageSize = getpagesize(); 32 const unsigned int kPageSize = getpagesize();
33 33
34 namespace { 34 namespace {
(...skipping 490 matching lines...) Expand 10 before | Expand all | Expand 10 after
525 } 525 }
526 } 526 }
527 527
528 ClassifyPages(&processes_memory); 528 ClassifyPages(&processes_memory);
529 if (short_output) 529 if (short_output)
530 DumpProcessesMemoryMapsInShortFormat(processes_memory); 530 DumpProcessesMemoryMapsInShortFormat(processes_memory);
531 else 531 else
532 DumpProcessesMemoryMapsInExtendedFormat(processes_memory); 532 DumpProcessesMemoryMapsInExtendedFormat(processes_memory);
533 return EXIT_SUCCESS; 533 return EXIT_SUCCESS;
534 } 534 }
OLDNEW
« no previous file with comments | « tools/android/md5sum/md5sum.cc ('k') | tools/gn/build_settings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698