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: sync/internal_api/sync_manager_impl.h

Issue 231013003: Remove Sync JS generic request/reply framework (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove js_reply_handler.h from gyp Created 6 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « sync/internal_api/js_sync_manager_observer.cc ('k') | sync/internal_api/sync_manager_impl.cc » ('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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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 SYNC_INTERNAL_API_SYNC_MANAGER_H_ 5 #ifndef SYNC_INTERNAL_API_SYNC_MANAGER_H_
6 #define SYNC_INTERNAL_API_SYNC_MANAGER_H_ 6 #define SYNC_INTERNAL_API_SYNC_MANAGER_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 virtual void OnMigrationRequested(ModelTypeSet types) OVERRIDE; 149 virtual void OnMigrationRequested(ModelTypeSet types) OVERRIDE;
150 virtual void OnProtocolEvent(const ProtocolEvent& event) OVERRIDE; 150 virtual void OnProtocolEvent(const ProtocolEvent& event) OVERRIDE;
151 151
152 // ServerConnectionEventListener implementation. 152 // ServerConnectionEventListener implementation.
153 virtual void OnServerConnectionEvent( 153 virtual void OnServerConnectionEvent(
154 const ServerConnectionEvent& event) OVERRIDE; 154 const ServerConnectionEvent& event) OVERRIDE;
155 155
156 // JsBackend implementation. 156 // JsBackend implementation.
157 virtual void SetJsEventHandler( 157 virtual void SetJsEventHandler(
158 const WeakHandle<JsEventHandler>& event_handler) OVERRIDE; 158 const WeakHandle<JsEventHandler>& event_handler) OVERRIDE;
159 virtual void ProcessJsMessage(
160 const std::string& name, const JsArgList& args,
161 const WeakHandle<JsReplyHandler>& reply_handler) OVERRIDE;
162 159
163 // DirectoryChangeDelegate implementation. 160 // DirectoryChangeDelegate implementation.
164 // This listener is called upon completion of a syncable transaction, and 161 // This listener is called upon completion of a syncable transaction, and
165 // builds the list of sync-engine initiated changes that will be forwarded to 162 // builds the list of sync-engine initiated changes that will be forwarded to
166 // the SyncManager's Observers. 163 // the SyncManager's Observers.
167 virtual void HandleTransactionCompleteChangeEvent( 164 virtual void HandleTransactionCompleteChangeEvent(
168 ModelTypeSet models_with_changes) OVERRIDE; 165 ModelTypeSet models_with_changes) OVERRIDE;
169 virtual ModelTypeSet HandleTransactionEndingChangeEvent( 166 virtual ModelTypeSet HandleTransactionEndingChangeEvent(
170 const syncable::ImmutableWriteTransactionInfo& write_transaction_info, 167 const syncable::ImmutableWriteTransactionInfo& write_transaction_info,
171 syncable::BaseTransaction* trans) OVERRIDE; 168 syncable::BaseTransaction* trans) OVERRIDE;
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
357 scoped_ptr<SyncEncryptionHandlerImpl> sync_encryption_handler_; 354 scoped_ptr<SyncEncryptionHandlerImpl> sync_encryption_handler_;
358 355
359 base::WeakPtrFactory<SyncManagerImpl> weak_ptr_factory_; 356 base::WeakPtrFactory<SyncManagerImpl> weak_ptr_factory_;
360 357
361 DISALLOW_COPY_AND_ASSIGN(SyncManagerImpl); 358 DISALLOW_COPY_AND_ASSIGN(SyncManagerImpl);
362 }; 359 };
363 360
364 } // namespace syncer 361 } // namespace syncer
365 362
366 #endif // SYNC_INTERNAL_API_SYNC_MANAGER_H_ 363 #endif // SYNC_INTERNAL_API_SYNC_MANAGER_H_
OLDNEW
« no previous file with comments | « sync/internal_api/js_sync_manager_observer.cc ('k') | sync/internal_api/sync_manager_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698