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

Unified Diff: chrome/profile_import/profile_import_thread.h

Issue 3814019: Switch to using scoped_refptr in chrome/profile_import (Closed) Base URL: http://git.chromium.org/git/chromium.git
Patch Set: Created 10 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/profile_import/profile_import_thread.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/profile_import/profile_import_thread.h
diff --git a/chrome/profile_import/profile_import_thread.h b/chrome/profile_import/profile_import_thread.h
index e3335bc9acb4fbda354c6155756c175e25476563..079fa4ccfc8790ee58f041e63fe59fb702d1618d 100644
--- a/chrome/profile_import/profile_import_thread.h
+++ b/chrome/profile_import/profile_import_thread.h
@@ -84,7 +84,7 @@ class ProfileImportThread : public ChildThread {
// Bridge object is passed to importer, so that it can send IPC calls
// directly back to the ProfileImportProcessHost.
- ExternalProcessImporterBridge* bridge_;
+ scoped_refptr<ExternalProcessImporterBridge> bridge_;
// importer::ProfileType enum from importer_list, stored in ProfileInfo
// struct in importer.
@@ -94,7 +94,7 @@ class ProfileImportThread : public ChildThread {
uint16 items_to_import_;
// Importer of the appropriate type (Firefox, Safari, IE, etc.)
- Importer* importer_;
+ scoped_refptr<Importer> importer_;
DISALLOW_COPY_AND_ASSIGN(ProfileImportThread);
};
« no previous file with comments | « no previous file | chrome/profile_import/profile_import_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698