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

Unified Diff: components/rappor/public/rappor_utils.h

Issue 2510803003: Pass RapporService to content/browser/ (Closed)
Patch Set: Applying comments Created 4 years 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 side-by-side diff with in-line comments
Download patch
Index: components/rappor/public/rappor_utils.h
diff --git a/components/rappor/rappor_utils.h b/components/rappor/public/rappor_utils.h
similarity index 83%
rename from components/rappor/rappor_utils.h
rename to components/rappor/public/rappor_utils.h
index 8e425665d8eb7109aa74cdf97c990115705e0152..109e0ebc54f445fab7c044e1dfecd7600359bdab 100644
--- a/components/rappor/rappor_utils.h
+++ b/components/rappor/public/rappor_utils.h
@@ -2,19 +2,17 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef COMPONENTS_RAPPOR_RAPPOR_UTILS_H_
-#define COMPONENTS_RAPPOR_RAPPOR_UTILS_H_
+#ifndef COMPONENTS_RAPPOR_PUBLIC_RAPPOR_UTILS_H_
+#define COMPONENTS_RAPPOR_PUBLIC_RAPPOR_UTILS_H_
#include <string>
-#include "components/rappor/rappor_service.h"
+#include "components/rappor/public/rappor_public_service.h"
class GURL;
namespace rappor {
-class RapporService;
-
// Records a string to a Rappor metric.
// If |rappor_service| is NULL, this call does nothing.
void SampleString(RapporService* rappor_service,
@@ -35,4 +33,4 @@ void SampleDomainAndRegistryFromGURL(RapporService* rappor_service,
} // namespace rappor
-#endif // COMPONENTS_RAPPOR_RAPPOR_UTILS_H_
+#endif // COMPONENTS_RAPPOR_PUBLIC_RAPPOR_UTILS_H_

Powered by Google App Engine
This is Rietveld 408576698