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

Side by Side Diff: chrome/installer/util/helper.cc

Issue 5430003: Cleanup some installer style nits. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years 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 | « chrome/installer/util/helper.h ('k') | chrome/installer/util/helper_unittest.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) 2010 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 #include "chrome/installer/util/helper.h" 5 #include "chrome/installer/util/helper.h"
6 6
7 #include "base/file_path.h"
7 #include "base/path_service.h" 8 #include "base/path_service.h"
8 #include "chrome/installer/util/browser_distribution.h" 9 #include "chrome/installer/util/browser_distribution.h"
9 10
10 namespace { 11 namespace {
11 12
12 FilePath GetChromeInstallBasePath(bool system, 13 FilePath GetChromeInstallBasePath(bool system,
13 BrowserDistribution* distribution, 14 BrowserDistribution* distribution,
14 const wchar_t* sub_path) { 15 const wchar_t* sub_path) {
15 FilePath install_path; 16 FilePath install_path;
16 if (system) { 17 if (system) {
(...skipping 15 matching lines...) Expand all
32 FilePath installer::GetChromeInstallPath(bool system_install, 33 FilePath installer::GetChromeInstallPath(bool system_install,
33 BrowserDistribution* dist) { 34 BrowserDistribution* dist) {
34 return GetChromeInstallBasePath(system_install, dist, 35 return GetChromeInstallBasePath(system_install, dist,
35 installer_util::kInstallBinaryDir); 36 installer_util::kInstallBinaryDir);
36 } 37 }
37 38
38 FilePath installer::GetChromeUserDataPath(BrowserDistribution* dist) { 39 FilePath installer::GetChromeUserDataPath(BrowserDistribution* dist) {
39 return GetChromeInstallBasePath(false, dist, 40 return GetChromeInstallBasePath(false, dist,
40 installer_util::kInstallUserDataDir); 41 installer_util::kInstallUserDataDir);
41 } 42 }
OLDNEW
« no previous file with comments | « chrome/installer/util/helper.h ('k') | chrome/installer/util/helper_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698