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

Unified Diff: chrome/tools/profiles/generate_profile.cc

Issue 11299062: chrome: Update the remaining calls from RunAllPending() to RunUntilIdle(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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/test/base/testing_profile.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/tools/profiles/generate_profile.cc
diff --git a/chrome/tools/profiles/generate_profile.cc b/chrome/tools/profiles/generate_profile.cc
index 08f01702fb881931d1119ad82e79564def80b09b..ca4ee3e01339f09af6221865efe06139f8de48d8 100644
--- a/chrome/tools/profiles/generate_profile.cc
+++ b/chrome/tools/profiles/generate_profile.cc
@@ -257,7 +257,7 @@ int main(int argc, const char* argv[]) {
const int batch_size = std::min(kBatchSize, url_count - page_id);
InsertURLBatch(&profile, page_id, batch_size, types);
// Run all pending messages to give TopSites a chance to catch up.
- message_loop.RunAllPending();
+ message_loop.RunUntilIdle();
page_id += batch_size;
}
@@ -266,7 +266,7 @@ int main(int argc, const char* argv[]) {
profile.DestroyTopSites();
profile.DestroyHistoryService();
- message_loop.RunAllPending();
+ message_loop.RunUntilIdle();
file_util::FileEnumerator file_iterator(profile.GetPath(), false,
file_util::FileEnumerator::FILES);
« no previous file with comments | « chrome/test/base/testing_profile.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698