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

Side by Side Diff: components/autofill/core/browser/webdata/autofill_webdata_backend.h

Issue 2130453004: [Sync] Move //sync to //components/sync. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 4 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_WEBDATA_AUTOFILL_WEBDATA_BACKEND_H_ 5 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_WEBDATA_AUTOFILL_WEBDATA_BACKEND_H_
6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_WEBDATA_AUTOFILL_WEBDATA_BACKEND_H_ 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_WEBDATA_AUTOFILL_WEBDATA_BACKEND_H_
7 7
8 #include "sync/internal_api/public/base/model_type.h" 8 #include "components/sync/base/model_type.h"
9 9
10 class WebDatabase; 10 class WebDatabase;
11 11
12 namespace autofill { 12 namespace autofill {
13 13
14 class AutofillWebDataServiceObserverOnDBThread; 14 class AutofillWebDataServiceObserverOnDBThread;
15 15
16 // Interface for doing Autofill work directly on the DB thread (used by 16 // Interface for doing Autofill work directly on the DB thread (used by
17 // Sync, mostly), without fully exposing the AutofillWebDataBackend to clients. 17 // Sync, mostly), without fully exposing the AutofillWebDataBackend to clients.
18 class AutofillWebDataBackend { 18 class AutofillWebDataBackend {
(...skipping 22 matching lines...) Expand all
41 41
42 // Notifies listeners on the UI thread that sync has started for |model_type|. 42 // Notifies listeners on the UI thread that sync has started for |model_type|.
43 // NOTE: This method is intended to be called from the DB thread. The UI 43 // NOTE: This method is intended to be called from the DB thread. The UI
44 // thread notifications are asynchronous. 44 // thread notifications are asynchronous.
45 virtual void NotifyThatSyncHasStarted(syncer::ModelType model_type) = 0; 45 virtual void NotifyThatSyncHasStarted(syncer::ModelType model_type) = 0;
46 }; 46 };
47 47
48 } // namespace autofill 48 } // namespace autofill
49 49
50 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_WEBDATA_AUTOFILL_WEBDATA_BACKEND_H_ 50 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_WEBDATA_AUTOFILL_WEBDATA_BACKEND_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698