Chromium Code Reviews| OLD | NEW |
|---|---|
| (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_ | |
| OLD | NEW |