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

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

Issue 2510803003: Pass RapporService to content/browser/ (Closed)
Patch Set: Fix more compile errors in JNI files 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 81%
rename from components/rappor/rappor_utils.h
rename to components/rappor/public/rappor_utils.h
index f8600d6bcf5b46d7e54f572dff6790631d673a11..77d71429bb83873e9863a069fad9c34a3c0102ae 100644
--- a/components/rappor/rappor_utils.h
+++ b/components/rappor/public/rappor_utils.h
@@ -1,20 +1,18 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
+// Copyright 2016 The Chromium Authors. All rights reserved.
// 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_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,
@@ -40,4 +38,4 @@ void SetDefaultServiceAccessor(RapporService* (*getDefaultService)());
} // namespace rappor
-#endif // COMPONENTS_RAPPOR_RAPPOR_UTILS_H_
+#endif // COMPONENTS_RAPPOR_PUBLIC_RAPPOR_UTILS_H_

Powered by Google App Engine
This is Rietveld 408576698