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

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

Issue 19602003: Use a direct include of the message_loop header in chrome/browser/, part 7. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase 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 <string> 5 #include <string>
6 6
7 #include "base/message_loop.h" 7 #include "base/message_loop/message_loop.h"
8 #include "base/strings/utf_string_conversions.h" 8 #include "base/strings/utf_string_conversions.h"
9 #include "chrome/browser/bookmarks/bookmark_model.h" 9 #include "chrome/browser/bookmarks/bookmark_model.h"
10 #include "chrome/browser/bookmarks/bookmark_model_factory.h" 10 #include "chrome/browser/bookmarks/bookmark_model_factory.h"
11 #include "chrome/browser/bookmarks/bookmark_title_match.h" 11 #include "chrome/browser/bookmarks/bookmark_title_match.h"
12 #include "chrome/browser/bookmarks/bookmark_utils.h" 12 #include "chrome/browser/bookmarks/bookmark_utils.h"
13 #include "chrome/browser/history/history_service_factory.h" 13 #include "chrome/browser/history/history_service_factory.h"
14 #include "chrome/browser/history/history_types.h" 14 #include "chrome/browser/history/history_types.h"
15 #include "chrome/browser/importer/importer_unittest_utils.h" 15 #include "chrome/browser/importer/importer_unittest_utils.h"
16 #include "chrome/browser/importer/profile_writer.h" 16 #include "chrome/browser/importer/profile_writer.h"
17 #include "chrome/common/importer/imported_bookmark_entry.h" 17 #include "chrome/common/importer/imported_bookmark_entry.h"
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 new TestProfileWriter(&profile)); 202 new TestProfileWriter(&profile));
203 profile_writer->AddHistoryPage(pages_, history::SOURCE_FIREFOX_IMPORTED); 203 profile_writer->AddHistoryPage(pages_, history::SOURCE_FIREFOX_IMPORTED);
204 VerifyHistoryCount(&profile); 204 VerifyHistoryCount(&profile);
205 size_t original_history_count = history_count_; 205 size_t original_history_count = history_count_;
206 history_count_ = 0; 206 history_count_ = 0;
207 207
208 profile_writer->AddHistoryPage(pages_, history::SOURCE_FIREFOX_IMPORTED); 208 profile_writer->AddHistoryPage(pages_, history::SOURCE_FIREFOX_IMPORTED);
209 VerifyHistoryCount(&profile); 209 VerifyHistoryCount(&profile);
210 EXPECT_EQ(original_history_count, history_count_); 210 EXPECT_EQ(original_history_count, history_count_);
211 } 211 }
OLDNEW
« no previous file with comments | « chrome/browser/importer/ie_importer_browsertest_win.cc ('k') | chrome/browser/internal_auth_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698