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

Side by Side Diff: chrome/browser/rappor_recorder_impl.h

Issue 2376403003: Convert RapporRecorder to use mojo. (Closed)
Patch Set: Convert RapporRecorder to use mojo. Created 4 years, 2 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_RAPPOR_RECORDER_IMPL_H_
6 #define CHROME_BROWSER_RAPPOR_RECORDER_IMPL_H_
7
8 #include "chrome/common/rappor_recorder.mojom.h"
9
10 class GURL;
11
12 class RapporRecorderImpl : public mojom::RapporRecorder {
13 public:
14 RapporRecorderImpl();
15 ~RapporRecorderImpl() override;
16
17 static void Create(mojom::RapporRecorderRequest request);
18
19 private:
20 void RecordRappor(const std::string& metric,
21 const std::string& sample) override;
22 void RecordRapporURL(const std::string& metric, const GURL& sample) override;
23 };
24
25 #endif // CHROME_BROWSER_RAPPOR_RECORDER_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698