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

Side by Side Diff: net/reporting/reporting_service.cc

Issue 2895253002: Reporting: Add missing #include <utility> (Closed)
Patch Set: Created 3 years, 7 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 | « net/reporting/reporting_report.cc ('k') | net/reporting/reporting_uploader.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 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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 "net/reporting/reporting_service.h" 5 #include "net/reporting/reporting_service.h"
6 6
7 #include <memory> 7 #include <memory>
8 #include <utility>
8 9
9 #include "base/bind.h" 10 #include "base/bind.h"
10 #include "base/macros.h" 11 #include "base/macros.h"
11 #include "base/memory/ptr_util.h" 12 #include "base/memory/ptr_util.h"
12 #include "base/time/tick_clock.h" 13 #include "base/time/tick_clock.h"
13 #include "base/time/time.h" 14 #include "base/time/time.h"
14 #include "base/values.h" 15 #include "base/values.h"
15 #include "net/reporting/reporting_browsing_data_remover.h" 16 #include "net/reporting/reporting_browsing_data_remover.h"
16 #include "net/reporting/reporting_cache.h" 17 #include "net/reporting/reporting_cache.h"
17 #include "net/reporting/reporting_context.h" 18 #include "net/reporting/reporting_context.h"
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 ReportingContext::Create(policy, request_context)); 69 ReportingContext::Create(policy, request_context));
69 } 70 }
70 71
71 // static 72 // static
72 std::unique_ptr<ReportingService> ReportingService::CreateForTesting( 73 std::unique_ptr<ReportingService> ReportingService::CreateForTesting(
73 std::unique_ptr<ReportingContext> reporting_context) { 74 std::unique_ptr<ReportingContext> reporting_context) {
74 return base::MakeUnique<ReportingServiceImpl>(std::move(reporting_context)); 75 return base::MakeUnique<ReportingServiceImpl>(std::move(reporting_context));
75 } 76 }
76 77
77 } // namespace net 78 } // namespace net
OLDNEW
« no previous file with comments | « net/reporting/reporting_report.cc ('k') | net/reporting/reporting_uploader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698