| Index: chrome/browser/feedback/feedback_dialog_utils.h
|
| diff --git a/chrome/browser/feedback/feedback_dialog_utils.h b/chrome/browser/feedback/feedback_dialog_utils.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..fa7f0f6ee68cc15d280d0a81424e3758b2fe0988
|
| --- /dev/null
|
| +++ b/chrome/browser/feedback/feedback_dialog_utils.h
|
| @@ -0,0 +1,24 @@
|
| +// Copyright 2016 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef CHROME_BROWSER_FEEDBACK_FEEDBACK_DIALOG_UTILS_H_
|
| +#define CHROME_BROWSER_FEEDBACK_FEEDBACK_DIALOG_UTILS_H_
|
| +
|
| +class Browser;
|
| +class GURL;
|
| +class Profile;
|
| +
|
| +// Utility functions for the feedback dialog.
|
| +namespace chrome {
|
| +
|
| +// Get the GURL of the active tab when the feedback dialog was invoked, if
|
| +// any.
|
| +GURL GetTargetTabUrl(int session_id, int index);
|
| +
|
| +// Get the profile that should be used to open the feedback dialog.
|
| +Profile* GetFeedbackProfile(Browser* browser);
|
| +
|
| +} // namespace chrome
|
| +
|
| +#endif // CHROME_BROWSER_FEEDBACK_FEEDBACK_DIALOG_UTILS_H_
|
|
|