diff options
author | isherman@chromium.org <isherman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-12 23:41:57 +0000 |
---|---|---|
committer | isherman@chromium.org <isherman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-12 23:41:57 +0000 |
commit | 7251f51285a6105eed2fb4aa230b413141a5cb5b (patch) | |
tree | e61f7bfb1ab64365f2b52607488a7449c42abf16 /chrome/browser/webdata/autofill_profile_syncable_service.h | |
parent | 89fdd35315abd8fbb3b8107d6a1bdd28073ea3c0 (diff) | |
download | chromium_src-7251f51285a6105eed2fb4aa230b413141a5cb5b.zip chromium_src-7251f51285a6105eed2fb4aa230b413141a5cb5b.tar.gz chromium_src-7251f51285a6105eed2fb4aa230b413141a5cb5b.tar.bz2 |
The AutofillProfileSyncableService's lifetime should be managed by the WebDataService
BUG=96922,96363
TEST=sh tools/valgrind/chrome_tests.sh -t unit_tests --gtest_filter=ProfileSyncServiceAutofillTest.HasProfileEmptySync
Review URL: http://codereview.chromium.org/8184001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105199 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/webdata/autofill_profile_syncable_service.h')
-rw-r--r-- | chrome/browser/webdata/autofill_profile_syncable_service.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/chrome/browser/webdata/autofill_profile_syncable_service.h b/chrome/browser/webdata/autofill_profile_syncable_service.h index 77ef314..362f03a 100644 --- a/chrome/browser/webdata/autofill_profile_syncable_service.h +++ b/chrome/browser/webdata/autofill_profile_syncable_service.h @@ -30,11 +30,11 @@ class ProfileSyncServiceAutofillTest; class WebDataService; namespace browser_sync { +class UnrecoverableErrorHandler; +} extern const char kAutofillProfileTag[]; -class UnrecoverableErrorHandler; - // The sync implementation for AutofillProfiles. // MergeDataAndStartSyncing() called first, it does cloud->local and // local->cloud syncs. Then for each cloud change we receive @@ -83,7 +83,7 @@ class AutofillProfileSyncableService virtual bool SaveChangesToWebData(const DataBundle& bundle); private: - friend class ::ProfileSyncServiceAutofillTest; + friend class ProfileSyncServiceAutofillTest; friend class MockAutofillProfileSyncableService; FRIEND_TEST_ALL_PREFIXES(AutofillProfileSyncableServiceTest, MergeDataAndStartSyncing); @@ -156,6 +156,4 @@ struct AutofillProfileSyncableService::DataBundle { std::vector<AutofillProfile*> profiles_to_add; }; -} // namespace browser_sync - #endif // CHROME_BROWSER_WEBDATA_AUTOFILL_PROFILE_SYNCABLE_SERVICE_H_ |