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

Unified Diff: chrome/browser/autofill/personal_data_manager.h

Issue 11149006: Extend scoped_ptr to be closer to unique_ptr. Support custom deleters, and deleting arrays. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 8 years 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 | « base/memory/scoped_ptr_unittest.nc ('k') | chrome/browser/sync_file_system/sync_file_system_service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/autofill/personal_data_manager.h
diff --git a/chrome/browser/autofill/personal_data_manager.h b/chrome/browser/autofill/personal_data_manager.h
index 34c24d35494771a5fa70a836f6c3c9196d981f80..dcd7bd7a6e88f8dd9dec3635f22aa19f95beff97 100644
--- a/chrome/browser/autofill/personal_data_manager.h
+++ b/chrome/browser/autofill/personal_data_manager.h
@@ -156,10 +156,10 @@ class PersonalDataManager
friend class AutofillTest;
friend class PersonalDataManagerFactory;
friend class PersonalDataManagerTest;
- friend class scoped_ptr<PersonalDataManager>;
friend class ProfileSyncServiceAutofillTest;
friend class RemoveAutofillTester;
friend class TestingAutomationProvider;
+ friend struct base::DefaultDeleter<PersonalDataManager>;
friend void autofill_helper::SetProfiles(int, std::vector<AutofillProfile>*);
friend void autofill_helper::SetCreditCards(int, std::vector<CreditCard>*);
« no previous file with comments | « base/memory/scoped_ptr_unittest.nc ('k') | chrome/browser/sync_file_system/sync_file_system_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698