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

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

Issue 7633077: Refactor syncapi.h (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Set of patches to refactor syncapi.h Created 9 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 | 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/generic_change_processor.h" 5 #include "chrome/browser/sync/glue/generic_change_processor.h"
6 6
7 #include "base/tracked.h" 7 #include "base/tracked.h"
8 #include "base/utf_string_conversions.h" 8 #include "base/utf_string_conversions.h"
9 #include "chrome/browser/sync/api/syncable_service.h" 9 #include "chrome/browser/sync/api/syncable_service.h"
10 #include "chrome/browser/sync/api/sync_change.h" 10 #include "chrome/browser/sync/api/sync_change.h"
11 #include "chrome/browser/sync/api/sync_error.h" 11 #include "chrome/browser/sync/api/sync_error.h"
12 #include "chrome/browser/sync/engine/nigori_util.h" 12 #include "chrome/browser/sync/engine/nigori_util.h"
13 #include "chrome/browser/sync/engine/syncapi.h" 13 #include "chrome/browser/sync/internal_api/read_node.h"
14 #include "chrome/browser/sync/internal_api/read_transaction.h"
15 #include "chrome/browser/sync/internal_api/syncapi_functions.h"
16 #include "chrome/browser/sync/internal_api/sync_manager.h"
17 #include "chrome/browser/sync/internal_api/write_node.h"
18 #include "chrome/browser/sync/internal_api/write_transaction.h"
14 #include "chrome/browser/sync/unrecoverable_error_handler.h" 19 #include "chrome/browser/sync/unrecoverable_error_handler.h"
15 20
16 namespace browser_sync { 21 namespace browser_sync {
17 22
18 GenericChangeProcessor::GenericChangeProcessor( 23 GenericChangeProcessor::GenericChangeProcessor(
19 SyncableService* local_service, 24 SyncableService* local_service,
20 UnrecoverableErrorHandler* error_handler, 25 UnrecoverableErrorHandler* error_handler,
21 sync_api::UserShare* user_share) 26 sync_api::UserShare* user_share)
22 : ChangeProcessor(error_handler), 27 : ChangeProcessor(error_handler),
23 local_service_(local_service), 28 local_service_(local_service),
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 231
227 void GenericChangeProcessor::StartImpl(Profile* profile) {} 232 void GenericChangeProcessor::StartImpl(Profile* profile) {}
228 233
229 void GenericChangeProcessor::StopImpl() {} 234 void GenericChangeProcessor::StopImpl() {}
230 235
231 sync_api::UserShare* GenericChangeProcessor::share_handle() { 236 sync_api::UserShare* GenericChangeProcessor::share_handle() {
232 return user_share_; 237 return user_share_;
233 } 238 }
234 239
235 } // namespace browser_sync 240 } // namespace browser_sync
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698