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

Side by Side Diff: chrome/installer/launcher_support/chrome_launcher_support.cc

Issue 497083004: Change base/file_utils.h includes to base/files/file_utils.h in chrome/, part 2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@file_util
Patch Set: Created 6 years, 4 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/launcher_support/chrome_launcher_support.h" 5 #include "chrome/installer/launcher_support/chrome_launcher_support.h"
6 6
7 #include <windows.h> 7 #include <windows.h>
8 8
9 #include "base/file_util.h"
10 #include "base/files/file_path.h" 9 #include "base/files/file_path.h"
10 #include "base/files/file_util.h"
11 #include "base/strings/string16.h" 11 #include "base/strings/string16.h"
12 #include "base/win/registry.h" 12 #include "base/win/registry.h"
13 13
14 namespace chrome_launcher_support { 14 namespace chrome_launcher_support {
15 15
16 namespace { 16 namespace {
17 17
18 // TODO(huangs) Refactor the constants: http://crbug.com/148538 18 // TODO(huangs) Refactor the constants: http://crbug.com/148538
19 const wchar_t kGoogleRegClientStateKey[] = 19 const wchar_t kGoogleRegClientStateKey[] =
20 L"Software\\Google\\Update\\ClientState"; 20 L"Software\\Google\\Update\\ClientState";
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 base::FilePath GetAnyChromePath() { 109 base::FilePath GetAnyChromePath() {
110 base::FilePath chrome_path; 110 base::FilePath chrome_path;
111 if (chrome_path.empty()) 111 if (chrome_path.empty())
112 chrome_path = GetChromePathForInstallationLevel(SYSTEM_LEVEL_INSTALLATION); 112 chrome_path = GetChromePathForInstallationLevel(SYSTEM_LEVEL_INSTALLATION);
113 if (chrome_path.empty()) 113 if (chrome_path.empty())
114 chrome_path = GetChromePathForInstallationLevel(USER_LEVEL_INSTALLATION); 114 chrome_path = GetChromePathForInstallationLevel(USER_LEVEL_INSTALLATION);
115 return chrome_path; 115 return chrome_path;
116 } 116 }
117 117
118 } // namespace chrome_launcher_support 118 } // namespace chrome_launcher_support
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698