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

Side by Side Diff: android_webview/native/aw_geolocation_permission_context.cc

Issue 12253057: Implement WebStorage API methods (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address nits Created 7 years, 10 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
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/native/aw_geolocation_permission_context.h" 5 #include "android_webview/native/aw_geolocation_permission_context.h"
6 6
7 #include "android_webview/native/aw_contents.h" 7 #include "android_webview/native/aw_contents.h"
8 #include "base/bind.h" 8 #include "base/bind.h"
9 #include "base/callback.h" 9 #include "base/callback.h"
10 #include "content/public/browser/browser_thread.h" 10 #include "content/public/browser/browser_thread.h"
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 this, 49 this,
50 render_process_id, 50 render_process_id,
51 render_view_id, 51 render_view_id,
52 bridge_id, 52 bridge_id,
53 requesting_frame, 53 requesting_frame,
54 callback)); 54 callback));
55 } 55 }
56 56
57 // static 57 // static
58 content::GeolocationPermissionContext* 58 content::GeolocationPermissionContext*
59 AwGeolocationPermissionContext::Create() { 59 AwGeolocationPermissionContext::Create(AwBrowserContext* browser_context) {
60 return new AwGeolocationPermissionContext(); 60 return new AwGeolocationPermissionContext();
61 } 61 }
62 62
63 void 63 void
64 AwGeolocationPermissionContext::CancelGeolocationPermissionRequestOnUIThread( 64 AwGeolocationPermissionContext::CancelGeolocationPermissionRequestOnUIThread(
65 int render_process_id, 65 int render_process_id,
66 int render_view_id, 66 int render_view_id,
67 int bridge_id, 67 int bridge_id,
68 const GURL& requesting_frame) { 68 const GURL& requesting_frame) {
69 DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::UI)); 69 DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::UI));
(...skipping 17 matching lines...) Expand all
87 &AwGeolocationPermissionContext:: 87 &AwGeolocationPermissionContext::
88 CancelGeolocationPermissionRequestOnUIThread, 88 CancelGeolocationPermissionRequestOnUIThread,
89 this, 89 this,
90 render_process_id, 90 render_process_id,
91 render_view_id, 91 render_view_id,
92 bridge_id, 92 bridge_id,
93 requesting_frame)); 93 requesting_frame));
94 } 94 }
95 95
96 } // namespace android_webview 96 } // namespace android_webview
OLDNEW
« no previous file with comments | « android_webview/native/aw_geolocation_permission_context.h ('k') | android_webview/native/aw_quota_manager_bridge_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698