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

Side by Side Diff: components/sync_driver/sync_frontend.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
« no previous file with comments | « components/sync_driver/sync_client.h ('k') | components/sync_driver/sync_prefs.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_SYNC_DRIVER_SYNC_FRONTEND_H_ 5 #ifndef COMPONENTS_SYNC_DRIVER_SYNC_FRONTEND_H_
6 #define COMPONENTS_SYNC_DRIVER_SYNC_FRONTEND_H_ 6 #define COMPONENTS_SYNC_DRIVER_SYNC_FRONTEND_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "sync/internal_api/public/base/model_type.h" 10 #include "components/sync/base/model_type.h"
11 #include "sync/internal_api/public/sync_encryption_handler.h" 11 #include "components/sync/base/weak_handle.h"
12 #include "sync/internal_api/public/sync_manager.h" 12 #include "components/sync/core/sync_encryption_handler.h"
13 #include "sync/internal_api/public/util/weak_handle.h" 13 #include "components/sync/core/sync_manager.h"
14 #include "sync/protocol/sync_protocol_error.h" 14 #include "components/sync/protocol/sync_protocol_error.h"
15 15
16 namespace syncer { 16 namespace syncer {
17 class DataTypeDebugInfoListener; 17 class DataTypeDebugInfoListener;
18 class JsBackend; 18 class JsBackend;
19 class ProtocolEvent; 19 class ProtocolEvent;
20 struct CommitCounters; 20 struct CommitCounters;
21 struct StatusCounters; 21 struct StatusCounters;
22 struct UpdateCounters; 22 struct UpdateCounters;
23 } // namespace syncer 23 } // namespace syncer
24 24
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 // |nigori_state| contains the new (post custom passphrase) encryption keys 141 // |nigori_state| contains the new (post custom passphrase) encryption keys
142 // and can be used to restore SyncEncryptionHandler's state across sync 142 // and can be used to restore SyncEncryptionHandler's state across sync
143 // backend instances. See also SyncEncryptionHandlerImpl::RestoreNigori. 143 // backend instances. See also SyncEncryptionHandlerImpl::RestoreNigori.
144 virtual void OnLocalSetPassphraseEncryption( 144 virtual void OnLocalSetPassphraseEncryption(
145 const syncer::SyncEncryptionHandler::NigoriState& nigori_state) = 0; 145 const syncer::SyncEncryptionHandler::NigoriState& nigori_state) = 0;
146 }; 146 };
147 147
148 } // namespace sync_driver 148 } // namespace sync_driver
149 149
150 #endif // COMPONENTS_SYNC_DRIVER_SYNC_FRONTEND_H_ 150 #endif // COMPONENTS_SYNC_DRIVER_SYNC_FRONTEND_H_
OLDNEW
« no previous file with comments | « components/sync_driver/sync_client.h ('k') | components/sync_driver/sync_prefs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698