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

Unified Diff: chrome/browser/chrome_content_browser_client.cc

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: chrome/browser/chrome_content_browser_client.cc
diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc
index 2cab771dcbe9857263ba97ea71a87b5e9eea2297..0654c6e5ebc3e17dc0764d8f6701e73a3c6bb1cb 100644
--- a/chrome/browser/chrome_content_browser_client.cc
+++ b/chrome/browser/chrome_content_browser_client.cc
@@ -136,8 +136,9 @@
#include "components/pref_registry/pref_registry_syncable.h"
#include "components/prefs/pref_service.h"
#include "components/prefs/scoped_user_pref_update.h"
+#include "components/rappor/public/rappor_utils.h"
#include "components/rappor/rappor_recorder_impl.h"
-#include "components/rappor/rappor_utils.h"
+#include "components/rappor/rappor_service_impl.h"
#include "components/security_interstitials/core/ssl_error_ui.h"
#include "components/signin/core/common/profile_management_switches.h"
#include "components/spellcheck/spellcheck_build_features.h"
@@ -2789,6 +2790,10 @@ void ChromeContentBrowserClient::GetURLRequestAutoMountHandlers(
extra_parts_[i]->GetURLRequestAutoMountHandlers(handlers);
}
+::rappor::RapporService* ChromeContentBrowserClient::GetRapporService() {
+ return g_browser_process->rappor_service();
+}
+
void ChromeContentBrowserClient::GetAdditionalFileSystemBackends(
content::BrowserContext* browser_context,
const base::FilePath& storage_partition_path,

Powered by Google App Engine
This is Rietveld 408576698