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

Side by Side Diff: chrome/browser/sync/chrome_sync_client.cc

Issue 2662453008: [Sync] Fix sync lint errors/includes, update presubmit. (Closed)
Patch Set: Rebase Created 3 years, 10 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
« no previous file with comments | « no previous file | chrome/browser/sync/chrome_sync_client_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/chrome_sync_client.h" 5 #include "chrome/browser/sync/chrome_sync_client.h"
6 6
7 #include <memory>
8 #include <utility> 7 #include <utility>
9 8
10 #include "base/bind.h" 9 #include "base/bind.h"
11 #include "base/command_line.h" 10 #include "base/command_line.h"
12 #include "base/memory/ptr_util.h" 11 #include "base/memory/ptr_util.h"
13 #include "build/build_config.h" 12 #include "build/build_config.h"
14 #include "chrome/browser/autofill/personal_data_manager_factory.h" 13 #include "chrome/browser/autofill/personal_data_manager_factory.h"
15 #include "chrome/browser/bookmarks/bookmark_model_factory.h" 14 #include "chrome/browser/bookmarks/bookmark_model_factory.h"
16 #include "chrome/browser/browser_process.h" 15 #include "chrome/browser/browser_process.h"
17 #include "chrome/browser/dom_distiller/dom_distiller_service_factory.h" 16 #include "chrome/browser/dom_distiller/dom_distiller_service_factory.h"
(...skipping 626 matching lines...) Expand 10 before | Expand all | Expand 10 after
644 sync_service->RegisterDataTypeController( 643 sync_service->RegisterDataTypeController(
645 base::MakeUnique<SupervisedUserSyncDataTypeController>( 644 base::MakeUnique<SupervisedUserSyncDataTypeController>(
646 syncer::SUPERVISED_USER_SETTINGS, error_callback, this, profile_)); 645 syncer::SUPERVISED_USER_SETTINGS, error_callback, this, profile_));
647 sync_service->RegisterDataTypeController( 646 sync_service->RegisterDataTypeController(
648 base::MakeUnique<SupervisedUserSyncDataTypeController>( 647 base::MakeUnique<SupervisedUserSyncDataTypeController>(
649 syncer::SUPERVISED_USER_WHITELISTS, error_callback, this, profile_)); 648 syncer::SUPERVISED_USER_WHITELISTS, error_callback, this, profile_));
650 #endif 649 #endif
651 } 650 }
652 651
653 } // namespace browser_sync 652 } // namespace browser_sync
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/sync/chrome_sync_client_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698