Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(20)

Unified Diff: components/autocomplete/autocomplete_match_type.cc

Issue 443043003: Rename components/autocomplete to components/omnibox (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/autocomplete/autocomplete_match_type.cc
diff --git a/components/autocomplete/autocomplete_match_type.cc b/components/autocomplete/autocomplete_match_type.cc
deleted file mode 100644
index f2885a9d1fed4711ad25e8b2dfa250b521a6189e..0000000000000000000000000000000000000000
--- a/components/autocomplete/autocomplete_match_type.cc
+++ /dev/null
@@ -1,35 +0,0 @@
-// Copyright 2014 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/autocomplete/autocomplete_match_type.h"
-
-#include "base/basictypes.h"
-
-// static
-std::string AutocompleteMatchType::ToString(AutocompleteMatchType::Type type) {
- const char* strings[] = {
- "url-what-you-typed",
- "history-url",
- "history-title",
- "history-body",
- "history-keyword",
- "navsuggest",
- "search-what-you-typed",
- "search-history",
- "search-suggest",
- "search-suggest-entity",
- "search-suggest-infinite",
- "search-suggest-personalized",
- "search-suggest-profile",
- "search-other-engine",
- "extension-app",
- "contact",
- "bookmark-title",
- "navsuggest-personalized",
- "search-suggest-answer",
- };
- COMPILE_ASSERT(arraysize(strings) == AutocompleteMatchType::NUM_TYPES,
- strings_array_must_match_type_enum);
- return strings[type];
-}
« no previous file with comments | « components/autocomplete/autocomplete_match_type.h ('k') | components/autocomplete/autocomplete_match_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698