summaryrefslogtreecommitdiffstats
path: root/chrome/browser/google_update_settings_posix.cc
diff options
context:
space:
mode:
authorerg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-13 23:23:47 +0000
committererg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-13 23:23:47 +0000
commitee5e3797e086af04cc8fc23ec32f8b7cc457da01 (patch)
treec3510eb56b5f3bd344e2b027200eb6d2087d7c2e /chrome/browser/google_update_settings_posix.cc
parent332c74a3af4ce2f33709f2e080b4a7f498759629 (diff)
downloadchromium_src-ee5e3797e086af04cc8fc23ec32f8b7cc457da01.zip
chromium_src-ee5e3797e086af04cc8fc23ec32f8b7cc457da01.tar.gz
chromium_src-ee5e3797e086af04cc8fc23ec32f8b7cc457da01.tar.bz2
Fix a whole bunch of style nits.
(Long term intention is to add a subset of cpplint.py to the presubmit script.) Review URL: http://codereview.chromium.org/276008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28914 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/google_update_settings_posix.cc')
-rw-r--r--chrome/browser/google_update_settings_posix.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome/browser/google_update_settings_posix.cc b/chrome/browser/google_update_settings_posix.cc
index b9c5f85..bc35bbc 100644
--- a/chrome/browser/google_update_settings_posix.cc
+++ b/chrome/browser/google_update_settings_posix.cc
@@ -60,8 +60,7 @@ bool GoogleUpdateSettings::SetCollectStatsConsent(bool consented) {
}
const char* c_str = linux_guid.c_str();
return file_util::WriteFile(consent_file, c_str, kGuidLen) == kGuidLen;
- }
- else {
+ } else {
linux_guid .clear();
linux_guid.resize(kGuidLen, '0');
return file_util::Delete(consent_file, false);