blob: ff049e6fcd682742435c78bf4e3fc2b09b951a52 [file] [log] [blame]
// 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.
#include "components/sessions/core/session_id.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(SessionID session_id, int index);
// Get the profile that should be used to open the feedback dialog.
Profile* GetFeedbackProfile(Browser* browser);
} // namespace chrome