aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/vendor/github.com/google/pprof/internal/plugin/plugin.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/vendor/github.com/google/pprof/internal/plugin/plugin.go')
-rw-r--r--src/cmd/vendor/github.com/google/pprof/internal/plugin/plugin.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cmd/vendor/github.com/google/pprof/internal/plugin/plugin.go b/src/cmd/vendor/github.com/google/pprof/internal/plugin/plugin.go
index e5878aed70..0003656026 100644
--- a/src/cmd/vendor/github.com/google/pprof/internal/plugin/plugin.go
+++ b/src/cmd/vendor/github.com/google/pprof/internal/plugin/plugin.go
@@ -192,6 +192,9 @@ type UI interface {
// interactive terminal (as opposed to being redirected to a file).
IsTerminal() bool
+ // WantBrowser indicates whether a browser should be opened with the -http option.
+ WantBrowser() bool
+
// SetAutoComplete instructs the UI to call complete(cmd) to obtain
// the auto-completion of cmd, if the UI supports auto-completion at all.
SetAutoComplete(complete func(string) string)