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

Side by Side Diff: chrome/common/importer/firefox_importer_utils.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
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/browser/importer/firefox_importer_utils.h" 5 #include "chrome/common/importer/firefox_importer_utils.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
11 #include "base/file_util.h" 11 #include "base/file_util.h"
12 #include "base/ini_parser.h" 12 #include "base/ini_parser.h"
13 #include "base/logging.h" 13 #include "base/logging.h"
14 #include "base/strings/string_number_conversions.h" 14 #include "base/strings/string_number_conversions.h"
15 #include "base/strings/string_split.h" 15 #include "base/strings/string_split.h"
(...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after
342 } 342 }
343 } 343 }
344 } 344 }
345 } 345 }
346 346
347 StringToLowerASCII(&branding_name); 347 StringToLowerASCII(&branding_name);
348 if (branding_name.find("iceweasel") != std::string::npos) 348 if (branding_name.find("iceweasel") != std::string::npos)
349 return l10n_util::GetStringUTF16(IDS_IMPORT_FROM_ICEWEASEL); 349 return l10n_util::GetStringUTF16(IDS_IMPORT_FROM_ICEWEASEL);
350 return l10n_util::GetStringUTF16(IDS_IMPORT_FROM_FIREFOX); 350 return l10n_util::GetStringUTF16(IDS_IMPORT_FROM_FIREFOX);
351 } 351 }
OLDNEW
« no previous file with comments | « chrome/common/importer/firefox_importer_utils.h ('k') | chrome/common/importer/firefox_importer_utils_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698