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

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

Issue 2859033002: [sync] Add constexpr to EnumSet (Closed)
Patch Set: Move reading list switches and buildflag to /features Created 3 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
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/profile_sync_service.h" 5 #include "components/browser_sync/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 14 matching lines...) Expand all
25 #include "base/strings/stringprintf.h" 25 #include "base/strings/stringprintf.h"
26 #include "base/threading/thread_restrictions.h" 26 #include "base/threading/thread_restrictions.h"
27 #include "base/threading/thread_task_runner_handle.h" 27 #include "base/threading/thread_task_runner_handle.h"
28 #include "components/autofill/core/common/autofill_pref_names.h" 28 #include "components/autofill/core/common/autofill_pref_names.h"
29 #include "components/browser_sync/browser_sync_switches.h" 29 #include "components/browser_sync/browser_sync_switches.h"
30 #include "components/history/core/browser/typed_url_data_type_controller.h" 30 #include "components/history/core/browser/typed_url_data_type_controller.h"
31 #include "components/invalidation/impl/invalidation_prefs.h" 31 #include "components/invalidation/impl/invalidation_prefs.h"
32 #include "components/invalidation/public/invalidation_service.h" 32 #include "components/invalidation/public/invalidation_service.h"
33 #include "components/pref_registry/pref_registry_syncable.h" 33 #include "components/pref_registry/pref_registry_syncable.h"
34 #include "components/prefs/json_pref_store.h" 34 #include "components/prefs/json_pref_store.h"
35 #include "components/reading_list/core/reading_list_enable_flags.h" 35 #include "components/reading_list/features/reading_list_enable_flags.h"
36 #include "components/signin/core/browser/about_signin_internals.h" 36 #include "components/signin/core/browser/about_signin_internals.h"
37 #include "components/signin/core/browser/profile_oauth2_token_service.h" 37 #include "components/signin/core/browser/profile_oauth2_token_service.h"
38 #include "components/signin/core/browser/signin_manager.h" 38 #include "components/signin/core/browser/signin_manager.h"
39 #include "components/signin/core/browser/signin_metrics.h" 39 #include "components/signin/core/browser/signin_metrics.h"
40 #include "components/strings/grit/components_strings.h" 40 #include "components/strings/grit/components_strings.h"
41 #include "components/sync/base/bind_to_task_runner.h" 41 #include "components/sync/base/bind_to_task_runner.h"
42 #include "components/sync/base/cryptographer.h" 42 #include "components/sync/base/cryptographer.h"
43 #include "components/sync/base/passphrase_type.h" 43 #include "components/sync/base/passphrase_type.h"
44 #include "components/sync/base/pref_names.h" 44 #include "components/sync/base/pref_names.h"
45 #include "components/sync/base/report_unrecoverable_error.h" 45 #include "components/sync/base/report_unrecoverable_error.h"
(...skipping 2365 matching lines...) Expand 10 before | Expand all | Expand 10 after
2411 return; 2411 return;
2412 2412
2413 DCHECK(startup_controller_->IsSetupInProgress()); 2413 DCHECK(startup_controller_->IsSetupInProgress());
2414 startup_controller_->SetSetupInProgress(false); 2414 startup_controller_->SetSetupInProgress(false);
2415 2415
2416 if (IsEngineInitialized()) 2416 if (IsEngineInitialized())
2417 ReconfigureDatatypeManager(); 2417 ReconfigureDatatypeManager();
2418 NotifyObservers(); 2418 NotifyObservers();
2419 } 2419 }
2420 } // namespace browser_sync 2420 } // namespace browser_sync
OLDNEW
« no previous file with comments | « components/browser_sync/profile_sync_components_factory_impl.cc ('k') | components/reading_list/core/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698