1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "chrome/browser/sync/glue/change_processor.h"
6 #include "chrome/browser/profiles/profile.h"
8 namespace browser_sync
{
10 ChangeProcessor::ChangeProcessor(DataTypeErrorHandler
* error_handler
)
11 : error_handler_(error_handler
),
12 share_handle_(NULL
) {}
14 ChangeProcessor::~ChangeProcessor() {
17 void ChangeProcessor::Start(Profile
* profile
,
18 syncer::UserShare
* share_handle
) {
19 DCHECK(!share_handle_
);
20 share_handle_
= share_handle
;
24 // Not implemented by default.
25 void ChangeProcessor::CommitChangesFromSyncModel() {}
27 DataTypeErrorHandler
* ChangeProcessor::error_handler() const {
28 return error_handler_
;
31 syncer::UserShare
* ChangeProcessor::share_handle() const {
35 } // namespace browser_sync