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

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

Issue 284893003: Move bookmarks/core/... to bookmarks/... (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixing errors reported by presubmit Created 6 years, 7 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
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 "chrome/browser/importer/external_process_importer_host.h" 5 #include "chrome/browser/importer/external_process_importer_host.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "chrome/browser/bookmarks/bookmark_model_factory.h" 8 #include "chrome/browser/bookmarks/bookmark_model_factory.h"
9 #include "chrome/browser/chrome_notification_types.h" 9 #include "chrome/browser/chrome_notification_types.h"
10 #include "chrome/browser/importer/external_process_importer_client.h" 10 #include "chrome/browser/importer/external_process_importer_client.h"
11 #include "chrome/browser/importer/firefox_profile_lock.h" 11 #include "chrome/browser/importer/firefox_profile_lock.h"
12 #include "chrome/browser/importer/importer_lock_dialog.h" 12 #include "chrome/browser/importer/importer_lock_dialog.h"
13 #include "chrome/browser/importer/importer_progress_observer.h" 13 #include "chrome/browser/importer/importer_progress_observer.h"
14 #include "chrome/browser/importer/in_process_importer_bridge.h" 14 #include "chrome/browser/importer/in_process_importer_bridge.h"
15 #include "chrome/browser/search_engines/template_url_service.h" 15 #include "chrome/browser/search_engines/template_url_service.h"
16 #include "chrome/browser/search_engines/template_url_service_factory.h" 16 #include "chrome/browser/search_engines/template_url_service_factory.h"
17 #include "components/bookmarks/core/browser/bookmark_model.h" 17 #include "components/bookmarks/browser/bookmark_model.h"
18 #include "content/public/browser/browser_thread.h" 18 #include "content/public/browser/browser_thread.h"
19 19
20 using content::BrowserThread; 20 using content::BrowserThread;
21 21
22 ExternalProcessImporterHost::ExternalProcessImporterHost() 22 ExternalProcessImporterHost::ExternalProcessImporterHost()
23 : headless_(false), 23 : headless_(false),
24 parent_window_(NULL), 24 parent_window_(NULL),
25 observer_(NULL), 25 observer_(NULL),
26 profile_(NULL), 26 profile_(NULL),
27 waiting_for_bookmarkbar_model_(false), 27 waiting_for_bookmarkbar_model_(false),
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 if (!writer_->TemplateURLServiceIsLoaded()) { 203 if (!writer_->TemplateURLServiceIsLoaded()) {
204 TemplateURLService* model = 204 TemplateURLService* model =
205 TemplateURLServiceFactory::GetForProfile(profile_); 205 TemplateURLServiceFactory::GetForProfile(profile_);
206 template_service_subscription_ = model->RegisterOnLoadedCallback( 206 template_service_subscription_ = model->RegisterOnLoadedCallback(
207 base::Bind(&ExternalProcessImporterHost::OnTemplateURLServiceLoaded, 207 base::Bind(&ExternalProcessImporterHost::OnTemplateURLServiceLoaded,
208 weak_ptr_factory_.GetWeakPtr())); 208 weak_ptr_factory_.GetWeakPtr()));
209 model->Load(); 209 model->Load();
210 } 210 }
211 } 211 }
212 } 212 }
OLDNEW
« no previous file with comments | « chrome/browser/importer/external_process_importer_host.h ('k') | chrome/browser/importer/profile_writer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698