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

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

Issue 18555005: Move importer messages to common (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 (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 "chrome/browser/bookmarks/bookmark_model.h" 7 #include "chrome/browser/bookmarks/bookmark_model.h"
8 #include "chrome/browser/importer/external_process_importer_client.h" 8 #include "chrome/browser/importer/external_process_importer_client.h"
9 #include "chrome/browser/importer/importer_type.h" 9 #include "chrome/browser/importer/importer_creator.h"
10 #include "chrome/browser/importer/in_process_importer_bridge.h" 10 #include "chrome/browser/importer/in_process_importer_bridge.h"
11 11
12 ExternalProcessImporterHost::ExternalProcessImporterHost() 12 ExternalProcessImporterHost::ExternalProcessImporterHost()
13 : client_(NULL), 13 : client_(NULL),
14 source_profile_(NULL), 14 source_profile_(NULL),
15 items_(0), 15 items_(0),
16 cancelled_(false), 16 cancelled_(false),
17 import_process_launched_(false) { 17 import_process_launched_(false) {
18 } 18 }
19 19
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 71
72 void ExternalProcessImporterHost::Loaded(BookmarkModel* model, 72 void ExternalProcessImporterHost::Loaded(BookmarkModel* model,
73 bool ids_reassigned) { 73 bool ids_reassigned) {
74 DCHECK(model->loaded()); 74 DCHECK(model->loaded());
75 model->RemoveObserver(this); 75 model->RemoveObserver(this);
76 waiting_for_bookmarkbar_model_ = false; 76 waiting_for_bookmarkbar_model_ = false;
77 installed_bookmark_observer_ = false; 77 installed_bookmark_observer_ = false;
78 78
79 InvokeTaskIfDone(); 79 InvokeTaskIfDone();
80 } 80 }
OLDNEW
« no previous file with comments | « chrome/browser/importer/external_process_importer_client.cc ('k') | chrome/browser/importer/firefox_importer_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698