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

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 {
sky 2016/10/06 17:28:44 Is there a reason not to have this code live in co
sky 2016/10/06 17:28:44 Please add a description. Imagine looking at this
nigeltao1 2016/10/07 03:30:51 Done.
nigeltao1 2016/10/07 03:30:51 I moved it to component/rappor, and pass the Rappo
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,
sky 2016/10/06 17:28:44 Generally we prefix overrides with where they come
nigeltao1 2016/10/07 03:30:52 Done.
21 const std::string& sample) override;
22 void RecordRapporURL(const std::string& metric, const GURL& sample) override;
23 };
sky 2016/10/06 17:28:44 DISALLOW...
nigeltao1 2016/10/07 03:30:51 Done.
24
25 #endif // CHROME_BROWSER_RAPPOR_RECORDER_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698