Index: chrome/browser/browser_process_impl.cc |
diff --git a/chrome/browser/browser_process_impl.cc b/chrome/browser/browser_process_impl.cc |
index 09e20ef91bf4dbae1cea170470cefbdbb0f5acc1..ab63c9e7c2762c747bf3afdc987be21e1391e92d 100644 |
--- a/chrome/browser/browser_process_impl.cc |
+++ b/chrome/browser/browser_process_impl.cc |
@@ -79,6 +79,7 @@ |
#include "chrome/common/switch_utils.h" |
#include "chrome/common/url_constants.h" |
#include "chrome/installer/util/google_update_constants.h" |
+#include "components/rappor/rappor_service.h" |
#include "content/public/browser/browser_thread.h" |
#include "content/public/browser/child_process_security_policy.h" |
#include "content/public/browser/notification_details.h" |
@@ -435,6 +436,14 @@ MetricsService* BrowserProcessImpl::metrics_service() { |
return metrics_service_.get(); |
} |
+rappor::RapporService* BrowserProcessImpl::rappor_service() { |
+ DCHECK(CalledOnValidThread()); |
+ if (!rappor_service_.get()) { |
Alexei Svitkine (slow)
2013/12/19 19:47:02
Nit: No {}s
Steven Holte
2013/12/20 03:03:55
Done.
|
+ rappor_service_.reset(new rappor::RapporService()); |
+ } |
+ return rappor_service_.get(); |
+} |
+ |
IOThread* BrowserProcessImpl::io_thread() { |
DCHECK(CalledOnValidThread()); |
DCHECK(io_thread_.get()); |