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

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

Issue 9699057: [Sync] Move 'sync' target to sync/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address Tim's comments Created 8 years, 9 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/frontend_data_type_controller.h" 5 #include "chrome/browser/sync/glue/frontend_data_type_controller.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "chrome/browser/profiles/profile.h" 8 #include "chrome/browser/profiles/profile.h"
9 #include "chrome/browser/sync/api/sync_error.h" 9 #include "chrome/browser/sync/api/sync_error.h"
10 #include "chrome/browser/sync/glue/change_processor.h" 10 #include "chrome/browser/sync/glue/change_processor.h"
11 #include "chrome/browser/sync/glue/chrome_report_unrecoverable_error.h" 11 #include "chrome/browser/sync/glue/chrome_report_unrecoverable_error.h"
12 #include "chrome/browser/sync/glue/model_associator.h" 12 #include "chrome/browser/sync/glue/model_associator.h"
13 #include "chrome/browser/sync/profile_sync_components_factory.h" 13 #include "chrome/browser/sync/profile_sync_components_factory.h"
14 #include "chrome/browser/sync/profile_sync_service.h" 14 #include "chrome/browser/sync/profile_sync_service.h"
15 #include "chrome/browser/sync/syncable/model_type.h"
16 #include "chrome/browser/sync/util/data_type_histogram.h"
17 #include "content/public/browser/browser_thread.h" 15 #include "content/public/browser/browser_thread.h"
16 #include "sync/syncable/model_type.h"
17 #include "sync/util/data_type_histogram.h"
18 18
19 using content::BrowserThread; 19 using content::BrowserThread;
20 20
21 namespace browser_sync { 21 namespace browser_sync {
22 22
23 FrontendDataTypeController::FrontendDataTypeController() 23 FrontendDataTypeController::FrontendDataTypeController()
24 : profile_sync_factory_(NULL), 24 : profile_sync_factory_(NULL),
25 profile_(NULL), 25 profile_(NULL),
26 sync_service_(NULL), 26 sync_service_(NULL),
27 state_(NOT_RUNNING) { 27 state_(NOT_RUNNING) {
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 ChangeProcessor* FrontendDataTypeController::change_processor() const { 249 ChangeProcessor* FrontendDataTypeController::change_processor() const {
250 return change_processor_.get(); 250 return change_processor_.get();
251 } 251 }
252 252
253 void FrontendDataTypeController::set_change_processor( 253 void FrontendDataTypeController::set_change_processor(
254 ChangeProcessor* change_processor) { 254 ChangeProcessor* change_processor) {
255 change_processor_.reset(change_processor); 255 change_processor_.reset(change_processor);
256 } 256 }
257 257
258 } // namespace browser_sync 258 } // namespace browser_sync
OLDNEW
« no previous file with comments | « chrome/browser/sync/glue/data_type_manager_impl_unittest.cc ('k') | chrome/browser/sync/glue/generic_change_processor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698