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

Side by Side Diff: chrome/utility/importer/bookmark_html_reader_unittest.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/bookmark_html_reader.h" 5 #include "chrome/utility/importer/bookmark_html_reader.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/bind_helpers.h" 8 #include "base/bind_helpers.h"
9 #include "base/callback.h" 9 #include "base/callback.h"
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
11 #include "base/path_service.h" 11 #include "base/path_service.h"
12 #include "base/strings/string16.h" 12 #include "base/strings/string16.h"
13 #include "base/strings/string_util.h" 13 #include "base/strings/string_util.h"
14 #include "base/strings/utf_string_conversions.h" 14 #include "base/strings/utf_string_conversions.h"
15 #include "chrome/common/chrome_paths.h" 15 #include "chrome/common/chrome_paths.h"
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after
266 ImportBookmarksFile(base::Callback<bool(void)>(), 266 ImportBookmarksFile(base::Callback<bool(void)>(),
267 base::Bind(&IsURLValid), 267 base::Bind(&IsURLValid),
268 path, &bookmarks, NULL); 268 path, &bookmarks, NULL);
269 269
270 ASSERT_EQ(2U, bookmarks.size()); 270 ASSERT_EQ(2U, bookmarks.size());
271 ExpectFirstFirefox2Bookmark(bookmarks[0]); 271 ExpectFirstFirefox2Bookmark(bookmarks[0]);
272 ExpectThirdFirefox2Bookmark(bookmarks[1]); 272 ExpectThirdFirefox2Bookmark(bookmarks[1]);
273 } 273 }
274 274
275 } // namespace bookmark_html_reader 275 } // namespace bookmark_html_reader
OLDNEW
« no previous file with comments | « chrome/utility/importer/bookmark_html_reader.cc ('k') | chrome/utility/importer/bookmarks_file_importer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698