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

Side by Side Diff: chrome/common/importer/firefox_importer_utils_linux.cc

Issue 486843004: Change base/file_utils.h includes to base/files/file_utils.h in chrome/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix bad merge 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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/common/importer/firefox_importer_utils.h" 5 #include "chrome/common/importer/firefox_importer_utils.h"
6 6
7 #include "base/base_paths.h" 7 #include "base/base_paths.h"
8 #include "base/file_util.h"
9 #include "base/files/file_path.h" 8 #include "base/files/file_path.h"
9 #include "base/files/file_util.h"
10 #include "base/path_service.h" 10 #include "base/path_service.h"
11 11
12 base::FilePath GetProfilesINI() { 12 base::FilePath GetProfilesINI() {
13 base::FilePath ini_file; 13 base::FilePath ini_file;
14 // The default location of the profile folder containing user data is 14 // The default location of the profile folder containing user data is
15 // under user HOME directory in .mozilla/firefox folder on Linux. 15 // under user HOME directory in .mozilla/firefox folder on Linux.
16 base::FilePath home; 16 base::FilePath home;
17 PathService::Get(base::DIR_HOME, &home); 17 PathService::Get(base::DIR_HOME, &home);
18 if (!home.empty()) { 18 if (!home.empty()) {
19 ini_file = home.Append(".mozilla/firefox/profiles.ini"); 19 ini_file = home.Append(".mozilla/firefox/profiles.ini");
20 } 20 }
21 if (base::PathExists(ini_file)) 21 if (base::PathExists(ini_file))
22 return ini_file; 22 return ini_file;
23 23
24 return base::FilePath(); 24 return base::FilePath();
25 } 25 }
OLDNEW
« no previous file with comments | « chrome/common/importer/firefox_importer_utils.cc ('k') | chrome/common/importer/firefox_importer_utils_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698