| Index: chrome/test/testing_browser_process.cc
|
| diff --git a/chrome/test/testing_browser_process.cc b/chrome/test/testing_browser_process.cc
|
| index 004ac87def5f66708b07eb864f995a173c573e74..1514e4a13efab232752b46e97b674bd21ad8b7b0 100644
|
| --- a/chrome/test/testing_browser_process.cc
|
| +++ b/chrome/test/testing_browser_process.cc
|
| @@ -12,6 +12,7 @@
|
| #include "chrome/browser/policy/configuration_policy_provider.h"
|
| #include "chrome/browser/policy/configuration_policy_provider_keeper.h"
|
| #include "chrome/browser/policy/dummy_configuration_policy_provider.h"
|
| +#include "chrome/common/net/url_request_context_getter.h"
|
| #include "ui/base/clipboard/clipboard.h"
|
|
|
| TestingBrowserProcess::TestingBrowserProcess()
|
| @@ -23,6 +24,7 @@ TestingBrowserProcess::TestingBrowserProcess()
|
| }
|
|
|
| TestingBrowserProcess::~TestingBrowserProcess() {
|
| + pref_proxy_config_tracker_ = NULL;
|
| }
|
|
|
| void TestingBrowserProcess::EndSession() {
|
| @@ -108,6 +110,19 @@ TestingBrowserProcess::safe_browsing_detection_service() {
|
| return NULL;
|
| }
|
|
|
| +PrefProxyConfigTracker* TestingBrowserProcess::pref_proxy_config_tracker() {
|
| + if (!pref_proxy_config_tracker_.get()) {
|
| + pref_proxy_config_tracker_ =
|
| + new PrefProxyConfigTracker(local_state());
|
| + }
|
| + return pref_proxy_config_tracker_.get();
|
| +}
|
| +
|
| +scoped_refptr<URLRequestContextGetter>
|
| +TestingBrowserProcess::system_request_context() {
|
| + return NULL;
|
| +}
|
| +
|
| ui::Clipboard* TestingBrowserProcess::clipboard() {
|
| if (!clipboard_.get()) {
|
| // Note that we need a MessageLoop for the next call to work.
|
|
|