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

Side by Side Diff: chrome/browser/sync/glue/change_processor.cc

Issue 8065016: [Sync] Refactor non-frontend DTC to handle new API properly. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Try harder trybot (rebase). Created 9 years, 2 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
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698