| OLD | NEW |
| 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/profiles/profile_impl.h" | 5 #include "chrome/browser/profiles/profile_impl.h" |
| 6 | 6 |
| 7 #include <stddef.h> | 7 #include <stddef.h> |
| 8 | 8 |
| 9 #include <memory> | 9 #include <memory> |
| 10 #include <utility> | 10 #include <utility> |
| 11 #include <vector> | 11 #include <vector> |
| 12 | 12 |
| 13 #include "base/bind.h" | 13 #include "base/bind.h" |
| 14 #include "base/callback.h" | 14 #include "base/callback.h" |
| 15 #include "base/command_line.h" | 15 #include "base/command_line.h" |
| 16 #include "base/compiler_specific.h" | 16 #include "base/compiler_specific.h" |
| 17 #include "base/environment.h" | 17 #include "base/environment.h" |
| 18 #include "base/files/file_path.h" | 18 #include "base/files/file_path.h" |
| 19 #include "base/files/file_util.h" | 19 #include "base/files/file_util.h" |
| 20 #include "base/logging.h" | 20 #include "base/logging.h" |
| 21 #include "base/memory/ptr_util.h" | 21 #include "base/memory/ptr_util.h" |
| 22 #include "base/memory/weak_ptr.h" | 22 #include "base/memory/weak_ptr.h" |
| 23 #include "base/metrics/histogram_macros.h" | 23 #include "base/metrics/histogram_macros.h" |
| 24 #include "base/path_service.h" | 24 #include "base/path_service.h" |
| 25 #include "base/sequenced_task_runner.h" |
| 25 #include "base/strings/string_number_conversions.h" | 26 #include "base/strings/string_number_conversions.h" |
| 26 #include "base/strings/string_util.h" | 27 #include "base/strings/string_util.h" |
| 27 #include "base/strings/stringprintf.h" | 28 #include "base/strings/stringprintf.h" |
| 28 #include "base/strings/utf_string_conversions.h" | 29 #include "base/strings/utf_string_conversions.h" |
| 29 #include "base/synchronization/waitable_event.h" | 30 #include "base/synchronization/waitable_event.h" |
| 30 #include "base/threading/sequenced_worker_pool.h" | 31 #include "base/threading/sequenced_worker_pool.h" |
| 31 #include "base/threading/thread_restrictions.h" | 32 #include "base/threading/thread_restrictions.h" |
| 32 #include "base/trace_event/trace_event.h" | 33 #include "base/trace_event/trace_event.h" |
| 33 #include "base/version.h" | 34 #include "base/version.h" |
| 34 #include "build/build_config.h" | 35 #include "build/build_config.h" |
| (...skipping 1343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1378 return std::unique_ptr<domain_reliability::DomainReliabilityMonitor>(); | 1379 return std::unique_ptr<domain_reliability::DomainReliabilityMonitor>(); |
| 1379 | 1380 |
| 1380 return service->CreateMonitor( | 1381 return service->CreateMonitor( |
| 1381 BrowserThread::GetTaskRunnerForThread(BrowserThread::IO)); | 1382 BrowserThread::GetTaskRunnerForThread(BrowserThread::IO)); |
| 1382 } | 1383 } |
| 1383 | 1384 |
| 1384 std::unique_ptr<service_manager::Service> ProfileImpl::CreateIdentityService() { | 1385 std::unique_ptr<service_manager::Service> ProfileImpl::CreateIdentityService() { |
| 1385 SigninManagerBase* signin_manager = SigninManagerFactory::GetForProfile(this); | 1386 SigninManagerBase* signin_manager = SigninManagerFactory::GetForProfile(this); |
| 1386 return base::MakeUnique<identity::IdentityService>(signin_manager); | 1387 return base::MakeUnique<identity::IdentityService>(signin_manager); |
| 1387 } | 1388 } |
| OLD | NEW |