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

Unified Diff: chrome/browser/first_run/first_run_browsertest.cc

Issue 24345002: Do not add "Bookmarks File" to ImporterList. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/first_run/first_run.cc ('k') | chrome/browser/importer/importer_list.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/first_run/first_run_browsertest.cc
diff --git a/chrome/browser/first_run/first_run_browsertest.cc b/chrome/browser/first_run/first_run_browsertest.cc
index 62b439b408e8561faf4b64f58931c4f794bf3cf3..a642bf27917104576a90e9c2ba39605378b0277e 100644
--- a/chrome/browser/first_run/first_run_browsertest.cc
+++ b/chrome/browser/first_run/first_run_browsertest.cc
@@ -139,14 +139,14 @@ class FirstRunMasterPrefsBrowserTestT
int MaskExpectedImportState(int expected_import_state) {
scoped_refptr<ImporterList> importer_list(new ImporterList());
importer_list->DetectSourceProfilesHack(
- g_browser_process->GetApplicationLocale());
+ g_browser_process->GetApplicationLocale(), false);
int source_profile_count = importer_list->count();
#if defined(OS_WIN)
// On Windows, the importer's DetectIEProfiles() will always add to the count.
// Internet Explorer always exists and always has something to import.
EXPECT_GT(source_profile_count, 0);
#endif
- if (source_profile_count == 1)
+ if (source_profile_count == 0)
return expected_import_state & ~first_run::AUTO_IMPORT_PROFILE_IMPORTED;
return expected_import_state;
« no previous file with comments | « chrome/browser/first_run/first_run.cc ('k') | chrome/browser/importer/importer_list.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698