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

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

Issue 23579008: [Android WebView] Remove some log spam (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/jni_dependency_factory.h" 10 #include "android_webview/browser/jni_dependency_factory.h"
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 content::GeolocationPermissionContext* 240 content::GeolocationPermissionContext*
241 AwBrowserContext::GetGeolocationPermissionContext() { 241 AwBrowserContext::GetGeolocationPermissionContext() {
242 if (!geolocation_permission_context_.get()) { 242 if (!geolocation_permission_context_.get()) {
243 geolocation_permission_context_ = 243 geolocation_permission_context_ =
244 native_factory_->CreateGeolocationPermission(this); 244 native_factory_->CreateGeolocationPermission(this);
245 } 245 }
246 return geolocation_permission_context_.get(); 246 return geolocation_permission_context_.get();
247 } 247 }
248 248
249 quota::SpecialStoragePolicy* AwBrowserContext::GetSpecialStoragePolicy() { 249 quota::SpecialStoragePolicy* AwBrowserContext::GetSpecialStoragePolicy() {
250 // TODO(boliu): Implement this so we are not relying on default behavior. 250 // Intentionally returning NULL as 'Extensions' and 'Apps' not supported.
251 NOTIMPLEMENTED();
252 return NULL; 251 return NULL;
253 } 252 }
254 253
255 void AwBrowserContext::RebuildTable( 254 void AwBrowserContext::RebuildTable(
256 const scoped_refptr<URLEnumerator>& enumerator) { 255 const scoped_refptr<URLEnumerator>& enumerator) {
257 // Android WebView rebuilds from WebChromeClient.getVisitedHistory. The client 256 // Android WebView rebuilds from WebChromeClient.getVisitedHistory. The client
258 // can change in the lifetime of this WebView and may not yet be set here. 257 // can change in the lifetime of this WebView and may not yet be set here.
259 // Therefore this initialization path is not used. 258 // Therefore this initialization path is not used.
260 enumerator->OnComplete(true); 259 enumerator->OnComplete(true);
261 } 260 }
262 261
263 } // namespace android_webview 262 } // namespace android_webview
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698