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

Side by Side Diff: chrome/browser/permissions/permission_infobar_delegate.h

Issue 1548133002: Switch to standard integer types in chrome/browser/, part 3 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
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 #ifndef CHROME_BROWSER_PERMISSIONS_PERMISSION_INFOBAR_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_PERMISSIONS_PERMISSION_INFOBAR_DELEGATE_H_
6 #define CHROME_BROWSER_PERMISSIONS_PERMISSION_INFOBAR_DELEGATE_H_ 6 #define CHROME_BROWSER_PERMISSIONS_PERMISSION_INFOBAR_DELEGATE_H_
7 7
8 #include "base/macros.h"
8 #include "chrome/browser/infobars/infobar_service.h" 9 #include "chrome/browser/infobars/infobar_service.h"
9 #include "components/content_settings/core/common/content_settings_types.h" 10 #include "components/content_settings/core/common/content_settings_types.h"
10 #include "components/infobars/core/confirm_infobar_delegate.h" 11 #include "components/infobars/core/confirm_infobar_delegate.h"
11 #include "content/public/browser/permission_type.h" 12 #include "content/public/browser/permission_type.h"
12 #include "content/public/browser/web_contents.h" 13 #include "content/public/browser/web_contents.h"
13 14
14 class NavigationDetails; 15 class NavigationDetails;
15 16
16 // Base class for permission infobars, it implements the default behavior 17 // Base class for permission infobars, it implements the default behavior
17 // so that the accept/deny buttons grant/deny the relevant permission. 18 // so that the accept/deny buttons grant/deny the relevant permission.
(...skipping 26 matching lines...) Expand all
44 GURL requesting_origin_; 45 GURL requesting_origin_;
45 bool action_taken_; 46 bool action_taken_;
46 content::PermissionType permission_type_; 47 content::PermissionType permission_type_;
47 ContentSettingsType content_settings_type_; 48 ContentSettingsType content_settings_type_;
48 const PermissionSetCallback callback_; 49 const PermissionSetCallback callback_;
49 50
50 DISALLOW_COPY_AND_ASSIGN(PermissionInfobarDelegate); 51 DISALLOW_COPY_AND_ASSIGN(PermissionInfobarDelegate);
51 }; 52 };
52 53
53 #endif // CHROME_BROWSER_PERMISSIONS_PERMISSION_INFOBAR_DELEGATE_H_ 54 #endif // CHROME_BROWSER_PERMISSIONS_PERMISSION_INFOBAR_DELEGATE_H_
OLDNEW
« no previous file with comments | « chrome/browser/permissions/permission_context_base_unittest.cc ('k') | chrome/browser/permissions/permission_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698