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

Side by Side Diff: chrome/browser/history/top_sites_likely_impl_unittest.cc

Issue 16561007: Use a direct include of utf_string_conversions.h in chrome/browser/, part 2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 6 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 "base/bind.h" 5 #include "base/bind.h"
6 #include "base/bind_helpers.h" 6 #include "base/bind_helpers.h"
7 #include "base/file_util.h" 7 #include "base/file_util.h"
8 #include "base/files/scoped_temp_dir.h" 8 #include "base/files/scoped_temp_dir.h"
9 #include "base/format_macros.h" 9 #include "base/format_macros.h"
10 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
11 #include "base/path_service.h" 11 #include "base/path_service.h"
12 #include "base/string_util.h" 12 #include "base/string_util.h"
13 #include "base/utf_string_conversions.h" 13 #include "base/strings/utf_string_conversions.h"
14 #include "base/values.h" 14 #include "base/values.h"
15 #include "chrome/browser/history/history_backend.h" 15 #include "chrome/browser/history/history_backend.h"
16 #include "chrome/browser/history/history_database.h" 16 #include "chrome/browser/history/history_database.h"
17 #include "chrome/browser/history/history_db_task.h" 17 #include "chrome/browser/history/history_db_task.h"
18 #include "chrome/browser/history/history_marshaling.h" 18 #include "chrome/browser/history/history_marshaling.h"
19 #include "chrome/browser/history/history_notifications.h" 19 #include "chrome/browser/history/history_notifications.h"
20 #include "chrome/browser/history/history_service_factory.h" 20 #include "chrome/browser/history/history_service_factory.h"
21 #include "chrome/browser/history/history_unittest_base.h" 21 #include "chrome/browser/history/history_unittest_base.h"
22 #include "chrome/browser/history/top_sites_backend.h" 22 #include "chrome/browser/history/top_sites_backend.h"
23 #include "chrome/browser/history/top_sites_cache.h" 23 #include "chrome/browser/history/top_sites_cache.h"
(...skipping 1235 matching lines...) Expand 10 before | Expand all | Expand 10 after
1259 chrome::NOTIFICATION_TOP_SITES_LOADED, 1259 chrome::NOTIFICATION_TOP_SITES_LOADED,
1260 content::Source<Profile>(profile())); 1260 content::Source<Profile>(profile()));
1261 profile()->CreateTopSites(); 1261 profile()->CreateTopSites();
1262 HistoryServiceFactory::GetForProfile( 1262 HistoryServiceFactory::GetForProfile(
1263 profile(), Profile::EXPLICIT_ACCESS)->UnloadBackend(); 1263 profile(), Profile::EXPLICIT_ACCESS)->UnloadBackend();
1264 profile()->BlockUntilHistoryProcessesPendingRequests(); 1264 profile()->BlockUntilHistoryProcessesPendingRequests();
1265 observer.Wait(); 1265 observer.Wait();
1266 } 1266 }
1267 1267
1268 } // namespace history 1268 } // namespace history
OLDNEW
« no previous file with comments | « chrome/browser/history/top_sites_likely_impl.cc ('k') | chrome/browser/history/typed_url_syncable_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698