| 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..484faeb4c95d7cda791205871f7bf76dbde4c13a 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,13 @@ MetricsService* BrowserProcessImpl::metrics_service() {
|
| return metrics_service_.get();
|
| }
|
|
|
| +rappor::RapporService* BrowserProcessImpl::rappor_service() {
|
| + DCHECK(CalledOnValidThread());
|
| + if (!rappor_service_.get())
|
| + rappor_service_.reset(new rappor::RapporService());
|
| + return rappor_service_.get();
|
| +}
|
| +
|
| IOThread* BrowserProcessImpl::io_thread() {
|
| DCHECK(CalledOnValidThread());
|
| DCHECK(io_thread_.get());
|
|
|