Index: components/omnibox/browser/history_quick_provider.cc |
diff --git a/components/omnibox/browser/history_quick_provider.cc b/components/omnibox/browser/history_quick_provider.cc |
index 32ac0e778d941172b2a551b7a8b9197e33311b85..1036dbfdd496f405c0bb2fbe0730fb0ad5cf4e49 100644 |
--- a/components/omnibox/browser/history_quick_provider.cc |
+++ b/components/omnibox/browser/history_quick_provider.cc |
@@ -16,6 +16,7 @@ |
#include "base/strings/string_util.h" |
#include "base/strings/utf_string_conversions.h" |
#include "components/bookmarks/browser/bookmark_model.h" |
+#include "components/crash_keys/crash_keys.h" |
#include "components/history/core/browser/history_database.h" |
#include "components/history/core/browser/history_service.h" |
#include "components/metrics/proto/omnibox_input_type.pb.h" |
@@ -34,16 +35,6 @@ |
#include "url/third_party/mozilla/url_parse.h" |
#include "url/url_util.h" |
-namespace { |
- |
-// Used to help investigate bug 464926. NOTE: This value is defined multiple |
-// places in the codebase due to layering issues. DO NOT change the value here |
-// without changing it in all other places that it is defined in the codebase |
-// (search for |kBug464926CrashKey|). |
-const char kBug464926CrashKey[] = "bug-464926-info"; |
- |
-} // namespace |
- |
bool HistoryQuickProvider::disabled_ = false; |
HistoryQuickProvider::HistoryQuickProvider(AutocompleteProviderClient* client) |
@@ -245,7 +236,7 @@ AutocompleteMatch HistoryQuickProvider::QuickMatchToACMatch( |
// Set |inline_autocompletion| and |allowed_to_be_default_match| if possible. |
if (history_match.can_inline) { |
base::debug::ScopedCrashKey crash_info( |
- kBug464926CrashKey, |
+ crash_keys::kBug464926CrashKey, |
info.url().spec().substr(0, 30) + " " + |
base::UTF16ToUTF8(autocomplete_input_.text()).substr(0, 20) + " " + |
base::SizeTToString(history_match.url_matches.size()) + " " + |