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

Unified Diff: chrome/browser/webdata/autofill_profile_syncable_service.h

Issue 8184001: The AutofillProfileSyncableService's lifetime should be managed by the WebDataService (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix compile after http://crrev.com/104990 Created 9 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
Index: chrome/browser/webdata/autofill_profile_syncable_service.h
diff --git a/chrome/browser/webdata/autofill_profile_syncable_service.h b/chrome/browser/webdata/autofill_profile_syncable_service.h
index 77ef314bbc5ee5bf1191940d2a95623b838f4244..362f03a60aa41d77f0da0d5b8a835761e39da464 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_

Powered by Google App Engine
This is Rietveld 408576698