| OLD | NEW |
| 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_SUPERVISED_USER_PERMISSION_REQUEST_CREATOR_H_ | 5 #ifndef CHROME_BROWSER_SUPERVISED_USER_PERMISSION_REQUEST_CREATOR_H_ |
| 6 #define CHROME_BROWSER_SUPERVISED_USER_PERMISSION_REQUEST_CREATOR_H_ | 6 #define CHROME_BROWSER_SUPERVISED_USER_PERMISSION_REQUEST_CREATOR_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include "base/callback_forward.h" |
| 9 | 9 |
| 10 #include "base/callback_forward.h" | 10 class GURL; |
| 11 | 11 |
| 12 class PermissionRequestCreator { | 12 class PermissionRequestCreator { |
| 13 public: | 13 public: |
| 14 virtual ~PermissionRequestCreator() {} | 14 virtual ~PermissionRequestCreator() {} |
| 15 | 15 |
| 16 virtual void CreatePermissionRequest(const std::string& url_requested, | 16 virtual void CreatePermissionRequest(const GURL& url_requested, |
| 17 const base::Closure& callback) = 0; | 17 const base::Closure& callback) = 0; |
| 18 }; | 18 }; |
| 19 | 19 |
| 20 #endif // CHROME_BROWSER_SUPERVISED_USER_PERMISSION_REQUEST_CREATOR_H_ | 20 #endif // CHROME_BROWSER_SUPERVISED_USER_PERMISSION_REQUEST_CREATOR_H_ |
| OLD | NEW |