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

Side by Side Diff: components/browser_sync/browser/profile_sync_service.cc

Issue 2250033002: [Sync] Create //components/sync/device_info. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix lint on device info files. Created 4 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
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 "components/browser_sync/browser/profile_sync_service.h" 5 #include "components/browser_sync/browser/profile_sync_service.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <cstddef> 9 #include <cstddef>
10 #include <map> 10 #include <map>
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 #include "components/sync/base/cryptographer.h" 47 #include "components/sync/base/cryptographer.h"
48 #include "components/sync/base/experiments.h" 48 #include "components/sync/base/experiments.h"
49 #include "components/sync/base/stop_source.h" 49 #include "components/sync/base/stop_source.h"
50 #include "components/sync/base/sync_db_util.h" 50 #include "components/sync/base/sync_db_util.h"
51 #include "components/sync/core/configure_reason.h" 51 #include "components/sync/core/configure_reason.h"
52 #include "components/sync/core/http_bridge_network_resources.h" 52 #include "components/sync/core/http_bridge_network_resources.h"
53 #include "components/sync/core/network_resources.h" 53 #include "components/sync/core/network_resources.h"
54 #include "components/sync/core/shared_model_type_processor.h" 54 #include "components/sync/core/shared_model_type_processor.h"
55 #include "components/sync/core/shutdown_reason.h" 55 #include "components/sync/core/shutdown_reason.h"
56 #include "components/sync/core/sync_encryption_handler.h" 56 #include "components/sync/core/sync_encryption_handler.h"
57 #include "components/sync/device_info/device_info.h"
58 #include "components/sync/device_info/device_info_service.h"
59 #include "components/sync/device_info/device_info_sync_service.h"
60 #include "components/sync/device_info/device_info_tracker.h"
57 #include "components/sync/driver/backend_migrator.h" 61 #include "components/sync/driver/backend_migrator.h"
58 #include "components/sync/driver/change_processor.h" 62 #include "components/sync/driver/change_processor.h"
59 #include "components/sync/driver/data_type_controller.h" 63 #include "components/sync/driver/data_type_controller.h"
60 #include "components/sync/driver/device_info.h"
61 #include "components/sync/driver/device_info_service.h"
62 #include "components/sync/driver/device_info_sync_service.h"
63 #include "components/sync/driver/device_info_tracker.h"
64 #include "components/sync/driver/glue/chrome_report_unrecoverable_error.h" 64 #include "components/sync/driver/glue/chrome_report_unrecoverable_error.h"
65 #include "components/sync/driver/glue/sync_backend_host.h" 65 #include "components/sync/driver/glue/sync_backend_host.h"
66 #include "components/sync/driver/glue/sync_backend_host_impl.h" 66 #include "components/sync/driver/glue/sync_backend_host_impl.h"
67 #include "components/sync/driver/pref_names.h" 67 #include "components/sync/driver/pref_names.h"
68 #include "components/sync/driver/signin_manager_wrapper.h" 68 #include "components/sync/driver/signin_manager_wrapper.h"
69 #include "components/sync/driver/sync_api_component_factory.h" 69 #include "components/sync/driver/sync_api_component_factory.h"
70 #include "components/sync/driver/sync_client.h" 70 #include "components/sync/driver/sync_client.h"
71 #include "components/sync/driver/sync_driver_switches.h" 71 #include "components/sync/driver/sync_driver_switches.h"
72 #include "components/sync/driver/sync_error_controller.h" 72 #include "components/sync/driver/sync_error_controller.h"
73 #include "components/sync/driver/sync_stopped_reporter.h" 73 #include "components/sync/driver/sync_stopped_reporter.h"
(...skipping 2461 matching lines...) Expand 10 before | Expand all | Expand 10 after
2535 if (--outstanding_setup_in_progress_handles_ != 0) 2535 if (--outstanding_setup_in_progress_handles_ != 0)
2536 return; 2536 return;
2537 2537
2538 DCHECK(startup_controller_->IsSetupInProgress()); 2538 DCHECK(startup_controller_->IsSetupInProgress());
2539 startup_controller_->SetSetupInProgress(false); 2539 startup_controller_->SetSetupInProgress(false);
2540 2540
2541 if (IsBackendInitialized()) 2541 if (IsBackendInitialized())
2542 ReconfigureDatatypeManager(); 2542 ReconfigureDatatypeManager();
2543 NotifyObservers(); 2543 NotifyObservers();
2544 } 2544 }
OLDNEW
« no previous file with comments | « components/browser_sync/browser/profile_sync_service.h ('k') | components/browser_sync/browser/profile_sync_service_mock.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698