| Index: components/omnibox/browser/clipboard_url_provider.cc
|
| diff --git a/components/omnibox/browser/clipboard_url_provider.cc b/components/omnibox/browser/clipboard_url_provider.cc
|
| index 22f9f777e98df29001b938bd60a12bcfc1581287..234fdfff54de313179b629806587a5e424a2fe0d 100644
|
| --- a/components/omnibox/browser/clipboard_url_provider.cc
|
| +++ b/components/omnibox/browser/clipboard_url_provider.cc
|
| @@ -5,6 +5,7 @@
|
| #include "components/omnibox/browser/clipboard_url_provider.h"
|
|
|
| #include "base/logging.h"
|
| +#include "base/metrics/histogram_macros.h"
|
| #include "base/strings/utf_string_conversions.h"
|
| #include "components/omnibox/browser/autocomplete_input.h"
|
| #include "components/omnibox/browser/autocomplete_provider_client.h"
|
| @@ -50,6 +51,8 @@ void ClipboardURLProvider::Start(const AutocompleteInput& input,
|
| client_, input, input.current_url(), history_url_provider_, -1);
|
| matches_.push_back(verbatim_match);
|
| }
|
| + UMA_HISTOGRAM_BOOLEAN("Omnibox.ClipboardSuggestionShownWithCurrentURL",
|
| + !matches_.empty());
|
|
|
| // Add the clipboard match. The relevance is 800 to beat ZeroSuggest results.
|
| AutocompleteMatch match(this, 800, false, AutocompleteMatchType::CLIPBOARD);
|
|
|