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

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

Issue 8477004: Have content/ create and destroy its own threads. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix official build, avoid DCHECK in official Linux/ChromeOS builds. Created 9 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/browser/ui/gtk/select_file_dialog_impl_kde.cc ('k') | chrome_frame/chrome_frame.gyp » ('j') | 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 adebcd9d70a5f459d339dd3566c549b05f7f5984..51c0f9c43e493b770705cf96ca885b82ddbcec60 100644
--- a/chrome/tools/profiles/generate_profile.cc
+++ b/chrome/tools/profiles/generate_profile.cc
@@ -23,6 +23,7 @@
#include "chrome/common/chrome_paths.h"
#include "chrome/common/thumbnail_score.h"
#include "chrome/test/base/testing_profile.h"
+#include "content/browser/browser_thread_impl.h"
#include "content/browser/notification_service_impl.h"
#include "content/public/browser/browser_thread.h"
#include "third_party/skia/include/core/SkBitmap.h"
@@ -236,8 +237,8 @@ int main(int argc, const char* argv[]) {
ResourceBundle::InitSharedInstance("en-US");
NotificationServiceImpl notification_service;
MessageLoopForUI message_loop;
- content::DeprecatedBrowserThread ui_thread(BrowserThread::UI, &message_loop);
- content::DeprecatedBrowserThread db_thread(BrowserThread::DB, &message_loop);
+ content::BrowserThreadImpl ui_thread(BrowserThread::UI, &message_loop);
+ content::BrowserThreadImpl db_thread(BrowserThread::DB, &message_loop);
TestingProfile profile;
profile.CreateHistoryService(false, false);
if (types & TOP_SITES) {
« no previous file with comments | « chrome/browser/ui/gtk/select_file_dialog_impl_kde.cc ('k') | chrome_frame/chrome_frame.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698