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

Unified Diff: chrome/browser/permissions/permission_context_base.h

Issue 1913413002: [WIP][POC] Base URL: https://chromium.googlesource.com/chromium/src.git@permission-request-rename
Patch Set: rebase Created 4 years, 8 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
« no previous file with comments | « no previous file | chrome/browser/permissions/permission_context_base.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/permissions/permission_context_base.h
diff --git a/chrome/browser/permissions/permission_context_base.h b/chrome/browser/permissions/permission_context_base.h
index 4fe49af7b2bc44a81411fdbada9e1397e0fe3d12..219c49ac8547053e8c5a1179c726016869bbf488 100644
--- a/chrome/browser/permissions/permission_context_base.h
+++ b/chrome/browser/permissions/permission_context_base.h
@@ -19,9 +19,9 @@
#include "content/public/browser/permission_type.h"
#include "url/gurl.h"
-#if defined(OS_ANDROID)
-class PermissionQueueController;
-#endif
+// #if defined(OS_ANDROID)
+// class PermissionQueueController;
+// #endif
class PermissionRequestID;
class Profile;
@@ -130,10 +130,10 @@ class PermissionContextBase : public KeyedService {
const GURL& requesting_origin,
bool allowed) {}
-#if defined(OS_ANDROID)
- // Return an instance of the infobar queue controller, creating it if needed.
- PermissionQueueController* GetQueueController();
-#endif
+// #if defined(OS_ANDROID)
+// // Return an instance of the infobar queue controller, creating it if needed.
+// PermissionQueueController* GetQueueController();
+// #endif
// Returns the profile associated with this permission context.
Profile* profile() const;
@@ -160,9 +160,9 @@ class PermissionContextBase : public KeyedService {
Profile* profile_;
const content::PermissionType permission_type_;
const ContentSettingsType content_settings_type_;
-#if defined(OS_ANDROID)
- std::unique_ptr<PermissionQueueController> permission_queue_controller_;
-#endif
+//#if defined(OS_ANDROID)
+// std::unique_ptr<PermissionQueueController> permission_queue_controller_;
+//#endif
base::ScopedPtrHashMap<std::string, std::unique_ptr<PermissionRequest>>
pending_requests_;
« no previous file with comments | « no previous file | chrome/browser/permissions/permission_context_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698