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

Side by Side Diff: chrome/browser/custom_handlers/register_protocol_handler_permission_request.h

Issue 1542413002: Switch to standard integer types in chrome/browser/, part 1 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_CUSTOM_HANDLERS_REGISTER_PROTOCOL_HANDLER_PERMISSION_REQU EST_H_ 5 #ifndef CHROME_BROWSER_CUSTOM_HANDLERS_REGISTER_PROTOCOL_HANDLER_PERMISSION_REQU EST_H_
6 #define CHROME_BROWSER_CUSTOM_HANDLERS_REGISTER_PROTOCOL_HANDLER_PERMISSION_REQU EST_H_ 6 #define CHROME_BROWSER_CUSTOM_HANDLERS_REGISTER_PROTOCOL_HANDLER_PERMISSION_REQU EST_H_
7 7
8 #include "base/macros.h"
8 #include "chrome/browser/ui/website_settings/permission_bubble_request.h" 9 #include "chrome/browser/ui/website_settings/permission_bubble_request.h"
9 #include "chrome/common/custom_handlers/protocol_handler.h" 10 #include "chrome/common/custom_handlers/protocol_handler.h"
10 11
11 class ProtocolHandlerRegistry; 12 class ProtocolHandlerRegistry;
12 13
13 // This class provides display data for a permission bubble request, shown when 14 // This class provides display data for a permission bubble request, shown when
14 // a page wants to register a protocol handler and was triggered by a user 15 // a page wants to register a protocol handler and was triggered by a user
15 // action. 16 // action.
16 class RegisterProtocolHandlerPermissionRequest 17 class RegisterProtocolHandlerPermissionRequest
17 : public PermissionBubbleRequest { 18 : public PermissionBubbleRequest {
(...skipping 20 matching lines...) Expand all
38 private: 39 private:
39 ProtocolHandlerRegistry* registry_; 40 ProtocolHandlerRegistry* registry_;
40 ProtocolHandler handler_; 41 ProtocolHandler handler_;
41 GURL url_; 42 GURL url_;
42 bool user_gesture_; 43 bool user_gesture_;
43 44
44 DISALLOW_COPY_AND_ASSIGN(RegisterProtocolHandlerPermissionRequest); 45 DISALLOW_COPY_AND_ASSIGN(RegisterProtocolHandlerPermissionRequest);
45 }; 46 };
46 47
47 #endif // CHROME_BROWSER_CUSTOM_HANDLERS_REGISTER_PROTOCOL_HANDLER_PERMISSION_R EQUEST_H_ 48 #endif // CHROME_BROWSER_CUSTOM_HANDLERS_REGISTER_PROTOCOL_HANDLER_PERMISSION_R EQUEST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698