| OLD | NEW | 
|---|
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/domain_reliability/service.h" | 5 #include "components/domain_reliability/service.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/location.h" | 9 #include "base/location.h" | 
| 10 #include "base/single_thread_task_runner.h" | 10 #include "base/single_thread_task_runner.h" | 
| 11 #include "base/task_runner_util.h" | 11 #include "base/task_runner_util.h" | 
| 12 #include "base/thread_task_runner_handle.h" | 12 #include "base/threading/thread_task_runner_handle.h" | 
| 13 #include "components/domain_reliability/monitor.h" | 13 #include "components/domain_reliability/monitor.h" | 
| 14 #include "net/url_request/url_request_context_getter.h" | 14 #include "net/url_request/url_request_context_getter.h" | 
| 15 | 15 | 
| 16 namespace domain_reliability { | 16 namespace domain_reliability { | 
| 17 | 17 | 
| 18 namespace { | 18 namespace { | 
| 19 | 19 | 
| 20 std::unique_ptr<base::Value> GetWebUIDataOnNetworkTaskRunner( | 20 std::unique_ptr<base::Value> GetWebUIDataOnNetworkTaskRunner( | 
| 21     base::WeakPtr<DomainReliabilityMonitor> monitor) { | 21     base::WeakPtr<DomainReliabilityMonitor> monitor) { | 
| 22   if (!monitor) { | 22   if (!monitor) { | 
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 89 DomainReliabilityService* DomainReliabilityService::Create( | 89 DomainReliabilityService* DomainReliabilityService::Create( | 
| 90     const std::string& upload_reporter_string) { | 90     const std::string& upload_reporter_string) { | 
| 91   return new DomainReliabilityServiceImpl(upload_reporter_string); | 91   return new DomainReliabilityServiceImpl(upload_reporter_string); | 
| 92 } | 92 } | 
| 93 | 93 | 
| 94 DomainReliabilityService::~DomainReliabilityService() {} | 94 DomainReliabilityService::~DomainReliabilityService() {} | 
| 95 | 95 | 
| 96 DomainReliabilityService::DomainReliabilityService() {} | 96 DomainReliabilityService::DomainReliabilityService() {} | 
| 97 | 97 | 
| 98 }  // namespace domain_reliability | 98 }  // namespace domain_reliability | 
| OLD | NEW | 
|---|