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

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

Issue 1689513002: [Abandoned] rename PermissionBubbleRequest to PermissionRequest. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@permission-request-manager-rename
Patch Set: browser_tests compiles 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
Index: chrome/browser/permissions/permission_request.h
diff --git a/chrome/browser/ui/website_settings/permission_bubble_request.h b/chrome/browser/permissions/permission_request.h
similarity index 91%
rename from chrome/browser/ui/website_settings/permission_bubble_request.h
rename to chrome/browser/permissions/permission_request.h
index 50692c855115b70259f0aa61b53ec02796326b90..20c22be8500703a1f8793f8b66411cdd227056ff 100644
--- a/chrome/browser/ui/website_settings/permission_bubble_request.h
+++ b/chrome/browser/permissions/permission_request.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_UI_WEBSITE_SETTINGS_PERMISSION_BUBBLE_REQUEST_H_
-#define CHROME_BROWSER_UI_WEBSITE_SETTINGS_PERMISSION_BUBBLE_REQUEST_H_
+#ifndef CHROME_BROWSER_PERMISSIONS_PERMISSION_REQUEST_H_
+#define CHROME_BROWSER_PERMISSIONS_PERMISSION_REQUEST_H_
#include "base/strings/string16.h"
#include "url/gurl.h"
@@ -39,9 +39,9 @@ enum class PermissionBubbleType {
// Note that no particular guarantees are made about what exact UI surface
// is presented to the user. The delegate may be coalesced with other bubble
// requests, or depending on the situation, not shown at all.
-class PermissionBubbleRequest {
+class PermissionRequest {
public:
- virtual ~PermissionBubbleRequest() {}
+ virtual ~PermissionRequest() {}
// Returns a vector icon id if the icon should be drawn as a vector
// resource. Otherwise, returns VECTOR_ICON_NONE.
@@ -85,4 +85,4 @@ class PermissionBubbleRequest {
virtual PermissionBubbleType GetPermissionBubbleType() const;
};
-#endif // CHROME_BROWSER_UI_WEBSITE_SETTINGS_PERMISSION_BUBBLE_REQUEST_H_
+#endif // CHROME_BROWSER_PERMISSIONS_PERMISSION_REQUEST_H_
« no previous file with comments | « chrome/browser/permissions/permission_context_base.cc ('k') | chrome/browser/permissions/permission_request.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698