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

Side by Side Diff: chrome/browser/permissions/permission_request_impl.cc

Issue 2909223003: Wire up Android system permission prompts in PermissionRequestManager codepath (Closed)
Patch Set: w/o dependent Created 3 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 unified diff | Download patch
« no previous file with comments | « chrome/browser/permissions/permission_request_impl.h ('k') | 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "chrome/browser/permissions/permission_request_impl.h" 5 #include "chrome/browser/permissions/permission_request_impl.h"
6 6
7 #include "build/build_config.h" 7 #include "build/build_config.h"
8 #include "chrome/browser/permissions/permission_decision_auto_blocker.h" 8 #include "chrome/browser/permissions/permission_decision_auto_blocker.h"
9 #include "chrome/browser/permissions/permission_uma_util.h" 9 #include "chrome/browser/permissions/permission_uma_util.h"
10 #include "chrome/browser/permissions/permission_util.h" 10 #include "chrome/browser/permissions/permission_util.h"
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 165
166 PermissionRequestType PermissionRequestImpl::GetPermissionRequestType() 166 PermissionRequestType PermissionRequestImpl::GetPermissionRequestType()
167 const { 167 const {
168 return PermissionUtil::GetRequestType(content_settings_type_); 168 return PermissionUtil::GetRequestType(content_settings_type_);
169 } 169 }
170 170
171 PermissionRequestGestureType PermissionRequestImpl::GetGestureType() 171 PermissionRequestGestureType PermissionRequestImpl::GetGestureType()
172 const { 172 const {
173 return PermissionUtil::GetGestureType(has_gesture_); 173 return PermissionUtil::GetGestureType(has_gesture_);
174 } 174 }
175
176 ContentSettingsType PermissionRequestImpl::GetContentSettingsType() const {
177 return content_settings_type_;
178 }
OLDNEW
« no previous file with comments | « chrome/browser/permissions/permission_request_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698