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

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

Issue 18501013: Move most importer code to chrome/utility/importer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: another gyp attempt Created 7 years, 5 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "chrome/browser/importer/firefox_importer_utils.h"
6
7 #include "base/file_util.h"
8
9 base::FilePath GetProfilesINI() {
10 base::FilePath ini_file;
11 // The default location of the profile folder containing user data is
12 // under user HOME directory in .mozilla/firefox folder on Linux.
13 base::FilePath home = file_util::GetHomeDir();
14 if (!home.empty()) {
15 ini_file = home.Append(".mozilla/firefox/profiles.ini");
16 }
17 if (base::PathExists(ini_file))
18 return ini_file;
19
20 return base::FilePath();
21 }
OLDNEW
« no previous file with comments | « chrome/browser/importer/firefox_importer_utils.cc ('k') | chrome/browser/importer/firefox_importer_utils_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698