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

Unified Diff: chrome/browser/profiles/profile_impl_io_data.cc

Issue 1173343009: LevelDB storage for data reduction proxy to store data usage stats. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use raw pointers for arguments instead of ref counting Created 5 years, 6 months 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/profiles/profile_impl_io_data.cc
diff --git a/chrome/browser/profiles/profile_impl_io_data.cc b/chrome/browser/profiles/profile_impl_io_data.cc
index fc465a72334d80212a6694fb14bc45d768fa3e95..799c8c87db69575e075ed74ed653a91e6feceb20 100644
--- a/chrome/browser/profiles/profile_impl_io_data.cc
+++ b/chrome/browser/profiles/profile_impl_io_data.cc
@@ -198,11 +198,12 @@ void ProfileImplIOData::Handle::Init(
enable_quic_for_data_reduction_proxy)
.Pass());
- DataReductionProxyChromeSettingsFactory::GetForBrowserContext(profile_)->
- InitDataReductionProxySettings(
+ DataReductionProxyChromeSettingsFactory::GetForBrowserContext(profile_)
+ ->InitDataReductionProxySettings(
io_data_->data_reduction_proxy_io_data(), profile_->GetPrefs(),
- profile_->GetRequestContext(),
- BrowserThread::GetMessageLoopProxyForThread(BrowserThread::UI));
+ profile_->GetRequestContext(), profile_path,
+ BrowserThread::GetMessageLoopProxyForThread(BrowserThread::UI),
+ BrowserThread::GetMessageLoopProxyForThread(BrowserThread::DB));
}
content::ResourceContext*

Powered by Google App Engine
This is Rietveld 408576698