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

Side by Side Diff: chrome/browser/rappor/sampling_unittest.cc

Issue 311133006: Add more Rappor metrics (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove NTP metric Created 6 years, 6 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 2014 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 #include "chrome/browser/rappor/sampling.h"
6
7 #include "testing/gtest/include/gtest/gtest.h"
8 #include "url/gurl.h"
9
10 namespace rappor {
11
12 // Make sure recording a sample doesn't cause a crash.
Peter Kasting 2014/06/09 00:51:14 Nit: Did you mean "recording a sample from an empt
Steven Holte 2014/06/09 17:54:29 Done.
13 TEST(RapporSamplingTest, SmokeTest) {
14 SampleDomainAndRegistryFromHost(std::string(), std::string());
15 SampleDomainAndRegistryFromGURL(std::string(), GURL());
16 }
17
18 } // namespace rappor
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698