summaryrefslogtreecommitdiff
path: root/chromium/components/rappor/rappor_service_impl.h
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2018-08-24 12:15:48 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2018-08-28 13:30:04 +0000
commitb014812705fc80bff0a5c120dfcef88f349816dc (patch)
tree25a2e2d9fa285f1add86aa333389a839f81a39ae /chromium/components/rappor/rappor_service_impl.h
parent9f4560b1027ae06fdb497023cdcaf91b8511fa74 (diff)
downloadqtwebengine-chromium-b014812705fc80bff0a5c120dfcef88f349816dc.tar.gz
BASELINE: Update Chromium to 68.0.3440.125
Change-Id: I23f19369e01f688e496f5bf179abb521ad73874f Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'chromium/components/rappor/rappor_service_impl.h')
-rw-r--r--chromium/components/rappor/rappor_service_impl.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/chromium/components/rappor/rappor_service_impl.h b/chromium/components/rappor/rappor_service_impl.h
index 540eb44a0d2..11c91f89f9d 100644
--- a/chromium/components/rappor/rappor_service_impl.h
+++ b/chromium/components/rappor/rappor_service_impl.h
@@ -13,6 +13,7 @@
#include "base/callback.h"
#include "base/macros.h"
+#include "base/memory/scoped_refptr.h"
#include "base/threading/thread_checker.h"
#include "base/timer/timer.h"
#include "components/metrics/daily_event.h"
@@ -24,8 +25,8 @@
class PrefRegistrySimple;
class PrefService;
-namespace net {
-class URLRequestContextGetter;
+namespace network {
+class SharedURLLoaderFactory;
}
namespace rappor {
@@ -52,7 +53,8 @@ class RapporServiceImpl : public RapporService {
// Initializes the rappor service, including loading the cohort and secret
// preferences from disk.
- void Initialize(net::URLRequestContextGetter* context);
+ void Initialize(
+ scoped_refptr<network::SharedURLLoaderFactory> url_loader_factory);
// Updates the settings for metric recording and uploading.
// The RapporServiceImpl must be initialized before this method is called.