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

Side by Side Diff: chrome/browser/sync/glue/non_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/non_frontend_data_type_controller.h" 5 #include "chrome/browser/sync/glue/non_frontend_data_type_controller.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "chrome/browser/profiles/profile.h" 10 #include "chrome/browser/profiles/profile.h"
11 #include "chrome/browser/sync/api/sync_error.h" 11 #include "chrome/browser/sync/api/sync_error.h"
12 #include "chrome/browser/sync/glue/change_processor.h" 12 #include "chrome/browser/sync/glue/change_processor.h"
13 #include "chrome/browser/sync/glue/chrome_report_unrecoverable_error.h" 13 #include "chrome/browser/sync/glue/chrome_report_unrecoverable_error.h"
14 #include "chrome/browser/sync/glue/model_associator.h" 14 #include "chrome/browser/sync/glue/model_associator.h"
15 #include "chrome/browser/sync/profile_sync_components_factory.h" 15 #include "chrome/browser/sync/profile_sync_components_factory.h"
16 #include "chrome/browser/sync/profile_sync_service.h" 16 #include "chrome/browser/sync/profile_sync_service.h"
17 #include "chrome/browser/sync/syncable/model_type.h"
18 #include "chrome/browser/sync/util/data_type_histogram.h"
19 #include "content/public/browser/browser_thread.h" 17 #include "content/public/browser/browser_thread.h"
18 #include "sync/syncable/model_type.h"
19 #include "sync/util/data_type_histogram.h"
20 20
21 using content::BrowserThread; 21 using content::BrowserThread;
22 22
23 namespace browser_sync { 23 namespace browser_sync {
24 24
25 NonFrontendDataTypeController::NonFrontendDataTypeController() 25 NonFrontendDataTypeController::NonFrontendDataTypeController()
26 : profile_sync_factory_(NULL), 26 : profile_sync_factory_(NULL),
27 profile_(NULL), 27 profile_(NULL),
28 profile_sync_service_(NULL), 28 profile_sync_service_(NULL),
29 state_(NOT_RUNNING), 29 state_(NOT_RUNNING),
(...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after
374 ChangeProcessor* NonFrontendDataTypeController::change_processor() const { 374 ChangeProcessor* NonFrontendDataTypeController::change_processor() const {
375 return change_processor_.get(); 375 return change_processor_.get();
376 } 376 }
377 377
378 void NonFrontendDataTypeController::set_change_processor( 378 void NonFrontendDataTypeController::set_change_processor(
379 ChangeProcessor* change_processor) { 379 ChangeProcessor* change_processor) {
380 change_processor_.reset(change_processor); 380 change_processor_.reset(change_processor);
381 } 381 }
382 382
383 } // namespace browser_sync 383 } // namespace browser_sync
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698