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

Unified Diff: components/rappor/public/sample.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/sample.h
diff --git a/components/rappor/sample.h b/components/rappor/public/sample.h
similarity index 89%
rename from components/rappor/sample.h
rename to components/rappor/public/sample.h
index 3f143f3f1b0e1bafe0f06febae298fc55296e947..afdfa14b0a4bd9ac856e00628075312436a447ef 100644
--- a/components/rappor/sample.h
+++ b/components/rappor/public/sample.h
@@ -1,9 +1,9 @@
-// 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_SAMPLE_H_
-#define COMPONENTS_RAPPOR_SAMPLE_H_
+#ifndef COMPONENTS_RAPPOR_PUBLIC_SAMPLE_H_
+#define COMPONENTS_RAPPOR_PUBLIC_SAMPLE_H_
#include <stddef.h>
#include <stdint.h>
@@ -12,12 +12,12 @@
#include <string>
#include "base/macros.h"
-#include "components/rappor/rappor_parameters.h"
+#include "components/rappor/public/rappor_parameters.h"
namespace rappor {
class RapporReports;
-class RapporService;
+class RapporServiceImpl;
class TestSamplerFactory;
// Sample is a container for information about a single instance of some event
@@ -60,7 +60,7 @@ class Sample {
private:
friend class TestSamplerFactory;
- friend class RapporService;
+ friend class RapporServiceImpl;
friend class TestSample;
// Constructs a sample. Instead of calling this directly, call
@@ -89,4 +89,4 @@ class Sample {
} // namespace rappor
-#endif // COMPONENTS_RAPPOR_SAMPLE_H_
+#endif // COMPONENTS_RAPPOR_PUBLIC_SAMPLE_H_

Powered by Google App Engine
This is Rietveld 408576698