diff options
author | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-25 18:30:45 +0000 |
---|---|---|
committer | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-25 18:30:45 +0000 |
commit | d043c2cccc2705908f2a3d39d404c8bf1a51c0de (patch) | |
tree | 6c2d946dc5fcbd111fab9c3662ea98af433c702b /base/process_util_linux.cc | |
parent | 4b576875ad1b570c3f34f549df27b9e98941dac7 (diff) | |
download | chromium_src-d043c2cccc2705908f2a3d39d404c8bf1a51c0de.zip chromium_src-d043c2cccc2705908f2a3d39d404c8bf1a51c0de.tar.gz chromium_src-d043c2cccc2705908f2a3d39d404c8bf1a51c0de.tar.bz2 |
Cleanup in chrome/browser
- make more things const
- remove unreferenced declaration of GetGoButton
- fix indentation in one place
Review URL: http://codereview.chromium.org/53053
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12475 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/process_util_linux.cc')
-rw-r--r-- | base/process_util_linux.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/base/process_util_linux.cc b/base/process_util_linux.cc index 7e43885..dcac3bd 100644 --- a/base/process_util_linux.cc +++ b/base/process_util_linux.cc @@ -202,7 +202,7 @@ bool NamedProcessIterator::IncludeEntry() { // To have /proc/self/io file you must enable CONFIG_TASK_IO_ACCOUNTING // in your kernel configuration. -bool ProcessMetrics::GetIOCounters(IoCounters* io_counters) { +bool ProcessMetrics::GetIOCounters(IoCounters* io_counters) const { std::string proc_io_contents; if (!file_util::ReadFileToString(L"/proc/self/io", &proc_io_contents)) return false; |