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

Unified Diff: chrome/browser/importer/importer.h

Issue 242119: Attempt at fixing crash during importing. As far as I can tell from... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/importer/importer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/importer/importer.h
===================================================================
--- chrome/browser/importer/importer.h (revision 28120)
+++ chrome/browser/importer/importer.h (working copy)
@@ -182,6 +182,7 @@
const BookmarkNode* node) {}
virtual void BookmarkNodeFavIconLoaded(BookmarkModel* model,
const BookmarkNode* node) {}
+ virtual void BookmarkModelBeingDeleted(BookmarkModel* model);
// NotificationObserver method. Called when TemplateURLModel has been loaded.
void Observe(NotificationType type,
@@ -280,6 +281,9 @@
NotificationRegistrar registrar_;
ImporterList importer_list_;
+ // Profile we're importing from.
+ Profile* profile_;
+
Observer* observer_;
scoped_refptr<ProfileWriter> writer_;
@@ -295,6 +299,9 @@
// True if we're waiting for the model to finish loading.
bool waiting_for_bookmarkbar_model_;
+ // Have we installed a listener on the bookmark model?
+ bool installed_bookmark_observer_;
+
// True if source profile is readable.
bool is_source_readable_;
« no previous file with comments | « no previous file | chrome/browser/importer/importer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698