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

Unified Diff: components/autofill/core/browser/webdata/autocomplete_sync_bridge.h

Issue 2672493002: [Sync] Switch bots to run integ tests for autofill as USS. (Closed)
Patch Set: Updated for Gang's comment. Created 3 years, 10 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: components/autofill/core/browser/webdata/autocomplete_sync_bridge.h
diff --git a/components/autofill/core/browser/webdata/autocomplete_sync_bridge.h b/components/autofill/core/browser/webdata/autocomplete_sync_bridge.h
index cd350bec3228bb71be9ed13ce486dc2c8a6d2164..2ec41c5ae51df413ba334337d69d5f735c7b063e 100644
--- a/components/autofill/core/browser/webdata/autocomplete_sync_bridge.h
+++ b/components/autofill/core/browser/webdata/autocomplete_sync_bridge.h
@@ -9,6 +9,7 @@
#include <string>
#include "base/macros.h"
+#include "base/memory/weak_ptr.h"
#include "base/optional.h"
#include "base/scoped_observer.h"
#include "base/supports_user_data.h"
@@ -39,7 +40,7 @@ class AutocompleteSyncBridge : public base::SupportsUserData::Data,
AutofillWebDataService* web_data_service,
AutofillWebDataBackend* web_data_backend);
- static AutocompleteSyncBridge* FromWebDataService(
+ static base::WeakPtr<syncer::ModelTypeSyncBridge> FromWebDataService(
AutofillWebDataService* web_data_service);
// syncer::ModelTypeSyncBridge implementation.
« no previous file with comments | « components/autofill/core/browser/BUILD.gn ('k') | components/autofill/core/browser/webdata/autocomplete_sync_bridge.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698