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

Side by Side Diff: components/rappor/rappor_recorder_impl.cc

Issue 2598963005: Include-what-you-use for WrapUnique/MakeUnique. (Closed)
Patch Set: restore order of includes in x11_topmost_window_finder_interactive_uitest.cc Created 3 years, 12 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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/rappor/rappor_recorder_impl.h" 5 #include "components/rappor/rappor_recorder_impl.h"
6 6
7 #include "base/memory/ptr_util.h"
7 #include "components/rappor/public/rappor_utils.h" 8 #include "components/rappor/public/rappor_utils.h"
8 #include "components/rappor/rappor_service_impl.h" 9 #include "components/rappor/rappor_service_impl.h"
9 #include "mojo/public/cpp/bindings/strong_binding.h" 10 #include "mojo/public/cpp/bindings/strong_binding.h"
10 11
11 namespace rappor { 12 namespace rappor {
12 13
13 RapporRecorderImpl::RapporRecorderImpl(RapporServiceImpl* rappor_service) 14 RapporRecorderImpl::RapporRecorderImpl(RapporServiceImpl* rappor_service)
14 : rappor_service_(rappor_service) {} 15 : rappor_service_(rappor_service) {}
15 16
16 RapporRecorderImpl::~RapporRecorderImpl() = default; 17 RapporRecorderImpl::~RapporRecorderImpl() = default;
(...skipping 11 matching lines...) Expand all
28 SampleString(rappor_service_, metric, ETLD_PLUS_ONE_RAPPOR_TYPE, sample); 29 SampleString(rappor_service_, metric, ETLD_PLUS_ONE_RAPPOR_TYPE, sample);
29 } 30 }
30 31
31 void RapporRecorderImpl::RecordRapporURL(const std::string& metric, 32 void RapporRecorderImpl::RecordRapporURL(const std::string& metric,
32 const GURL& sample) { 33 const GURL& sample) {
33 DCHECK(thread_checker_.CalledOnValidThread()); 34 DCHECK(thread_checker_.CalledOnValidThread());
34 SampleDomainAndRegistryFromGURL(rappor_service_, metric, sample); 35 SampleDomainAndRegistryFromGURL(rappor_service_, metric, sample);
35 } 36 }
36 37
37 } // namespace rappor 38 } // namespace rappor
OLDNEW
« no previous file with comments | « components/printing/renderer/print_web_view_helper.cc ('k') | components/safe_json/utility/safe_json_parser_mojo_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698