OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CHROME_BROWSER_FEEDBACK_FEEDBACK_DIALOG_UTILS_H_ |
| 6 #define CHROME_BROWSER_FEEDBACK_FEEDBACK_DIALOG_UTILS_H_ |
| 7 |
| 8 class Browser; |
| 9 class GURL; |
| 10 class Profile; |
| 11 |
| 12 // Utility functions for the feedback dialog. |
| 13 namespace chrome { |
| 14 |
| 15 // Get the GURL of the active tab when the feedback dialog was invoked, if |
| 16 // any. |
| 17 GURL GetTargetTabUrl(int session_id, int index); |
| 18 |
| 19 // Get the profile that should be used to open the feedback dialog. |
| 20 Profile* GetFeedbackProfile(Browser* browser); |
| 21 |
| 22 } // namespace chrome |
| 23 |
| 24 #endif // CHROME_BROWSER_FEEDBACK_FEEDBACK_DIALOG_UTILS_H_ |
OLD | NEW |