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

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

Issue 10534080: sync: move internal_api components used by chrome/browser into internal_api/public (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix test Created 8 years, 6 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) 2012 The Chromium Authors. All rights reserved. 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 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/location.h" 7 #include "base/location.h"
8 #include "base/string_number_conversions.h" 8 #include "base/string_number_conversions.h"
9 #include "base/utf_string_conversions.h" 9 #include "base/utf_string_conversions.h"
10 #include "content/public/browser/browser_thread.h" 10 #include "content/public/browser/browser_thread.h"
11 #include "sync/api/sync_change.h" 11 #include "sync/api/sync_change.h"
12 #include "sync/api/sync_error.h" 12 #include "sync/api/sync_error.h"
13 #include "sync/api/syncable_service.h" 13 #include "sync/api/syncable_service.h"
14 #include "sync/internal_api/base_node.h" 14 #include "sync/internal_api/public/base_node.h"
15 #include "sync/internal_api/change_record.h" 15 #include "sync/internal_api/public/change_record.h"
16 #include "sync/internal_api/read_node.h" 16 #include "sync/internal_api/public/read_node.h"
17 #include "sync/internal_api/read_transaction.h" 17 #include "sync/internal_api/public/read_transaction.h"
18 #include "sync/internal_api/write_node.h" 18 #include "sync/internal_api/public/util/unrecoverable_error_handler.h"
19 #include "sync/internal_api/write_transaction.h" 19 #include "sync/internal_api/public/write_node.h"
20 #include "sync/internal_api/public/write_transaction.h"
20 #include "sync/syncable/syncable.h" // TODO(tim): Bug 123674. 21 #include "sync/syncable/syncable.h" // TODO(tim): Bug 123674.
21 #include "sync/util/unrecoverable_error_handler.h"
22 22
23 using content::BrowserThread; 23 using content::BrowserThread;
24 24
25 namespace browser_sync { 25 namespace browser_sync {
26 26
27 GenericChangeProcessor::GenericChangeProcessor( 27 GenericChangeProcessor::GenericChangeProcessor(
28 DataTypeErrorHandler* error_handler, 28 DataTypeErrorHandler* error_handler,
29 const base::WeakPtr<SyncableService>& local_service, 29 const base::WeakPtr<SyncableService>& local_service,
30 sync_api::UserShare* user_share) 30 sync_api::UserShare* user_share)
31 : ChangeProcessor(error_handler), 31 : ChangeProcessor(error_handler),
(...skipping 439 matching lines...) Expand 10 before | Expand all | Expand 10 after
471 void GenericChangeProcessor::StopImpl() { 471 void GenericChangeProcessor::StopImpl() {
472 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); 472 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
473 } 473 }
474 474
475 sync_api::UserShare* GenericChangeProcessor::share_handle() const { 475 sync_api::UserShare* GenericChangeProcessor::share_handle() const {
476 DCHECK(CalledOnValidThread()); 476 DCHECK(CalledOnValidThread());
477 return share_handle_; 477 return share_handle_;
478 } 478 }
479 479
480 } // namespace browser_sync 480 } // namespace browser_sync
OLDNEW
« no previous file with comments | « chrome/browser/sync/glue/data_type_manager_impl_unittest.cc ('k') | chrome/browser/sync/glue/http_bridge.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698