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

Side by Side Diff: android_webview/browser/aw_browser_context.cc

Issue 393133002: Migrate HostZoomMap to live in StoragePartition. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments; patch for landing. Created 6 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "android_webview/browser/aw_browser_context.h" 5 #include "android_webview/browser/aw_browser_context.h"
6 6
7 #include "android_webview/browser/aw_form_database_service.h" 7 #include "android_webview/browser/aw_form_database_service.h"
8 #include "android_webview/browser/aw_pref_store.h" 8 #include "android_webview/browser/aw_pref_store.h"
9 #include "android_webview/browser/aw_quota_manager_bridge.h" 9 #include "android_webview/browser/aw_quota_manager_bridge.h"
10 #include "android_webview/browser/aw_resource_context.h" 10 #include "android_webview/browser/aw_resource_context.h"
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 if (data_reduction_proxy_settings_.get()) { 215 if (data_reduction_proxy_settings_.get()) {
216 data_reduction_proxy_settings_->InitDataReductionProxySettings( 216 data_reduction_proxy_settings_->InitDataReductionProxySettings(
217 user_pref_service_.get(), 217 user_pref_service_.get(),
218 GetRequestContext()); 218 GetRequestContext());
219 data_reduction_proxy_settings_->MaybeActivateDataReductionProxy(true); 219 data_reduction_proxy_settings_->MaybeActivateDataReductionProxy(true);
220 220
221 SetDataReductionProxyEnabled(data_reduction_proxy_enabled_); 221 SetDataReductionProxyEnabled(data_reduction_proxy_enabled_);
222 } 222 }
223 } 223 }
224 224
225 scoped_ptr<content::ZoomLevelDelegate>
226 AwBrowserContext::CreateZoomLevelDelegate(
227 const base::FilePath& partition_path) {
228 return nullptr;
229 }
230
225 base::FilePath AwBrowserContext::GetPath() const { 231 base::FilePath AwBrowserContext::GetPath() const {
226 return context_storage_path_; 232 return context_storage_path_;
227 } 233 }
228 234
229 bool AwBrowserContext::IsOffTheRecord() const { 235 bool AwBrowserContext::IsOffTheRecord() const {
230 // Android WebView does not support off the record profile yet. 236 // Android WebView does not support off the record profile yet.
231 return false; 237 return false;
232 } 238 }
233 239
234 net::URLRequestContextGetter* AwBrowserContext::GetRequestContext() { 240 net::URLRequestContextGetter* AwBrowserContext::GetRequestContext() {
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
307 data_reduction_proxy_statistics_ = 313 data_reduction_proxy_statistics_ =
308 scoped_ptr<data_reduction_proxy::DataReductionProxyStatisticsPrefs>( 314 scoped_ptr<data_reduction_proxy::DataReductionProxyStatisticsPrefs>(
309 new data_reduction_proxy::DataReductionProxyStatisticsPrefs( 315 new data_reduction_proxy::DataReductionProxyStatisticsPrefs(
310 user_pref_service_.get(), 316 user_pref_service_.get(),
311 base::MessageLoopProxy::current(), 317 base::MessageLoopProxy::current(),
312 commit_delay)); 318 commit_delay));
313 } 319 }
314 } 320 }
315 321
316 } // namespace android_webview 322 } // namespace android_webview
OLDNEW
« no previous file with comments | « android_webview/browser/aw_browser_context.h ('k') | chrome/browser/browsing_data/browsing_data_remover_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698