| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #include "chrome/browser/sync/glue/change_processor.h" | 5 #include "chrome/browser/sync/glue/change_processor.h" |
| 6 #include "chrome/browser/profiles/profile.h" | 6 #include "chrome/browser/profiles/profile.h" |
| 7 | 7 |
| 8 namespace browser_sync { | 8 namespace browser_sync { |
| 9 | 9 |
| 10 ChangeProcessor::ChangeProcessor(UnrecoverableErrorHandler* error_handler) | 10 ChangeProcessor::ChangeProcessor(UnrecoverableErrorHandler* error_handler) |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 running_ = false; | 32 running_ = false; |
| 33 } | 33 } |
| 34 | 34 |
| 35 bool ChangeProcessor::IsRunning() const { | 35 bool ChangeProcessor::IsRunning() const { |
| 36 return running_; | 36 return running_; |
| 37 } | 37 } |
| 38 | 38 |
| 39 // Not implemented by default. | 39 // Not implemented by default. |
| 40 void ChangeProcessor::CommitChangesFromSyncModel() {} | 40 void ChangeProcessor::CommitChangesFromSyncModel() {} |
| 41 | 41 |
| 42 UnrecoverableErrorHandler* ChangeProcessor::error_handler() { | 42 UnrecoverableErrorHandler* ChangeProcessor::error_handler() const { |
| 43 return error_handler_; | 43 return error_handler_; |
| 44 } | 44 } |
| 45 | 45 |
| 46 sync_api::UserShare* ChangeProcessor::share_handle() { | 46 sync_api::UserShare* ChangeProcessor::share_handle() const { |
| 47 return share_handle_; | 47 return share_handle_; |
| 48 } | 48 } |
| 49 | 49 |
| 50 } // namespace browser_sync | 50 } // namespace browser_sync |
| OLD | NEW |