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

Unified Diff: components/autocomplete/autocomplete_scheme_classifier.h

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_scheme_classifier.h
diff --git a/components/autocomplete/autocomplete_scheme_classifier.h b/components/autocomplete/autocomplete_scheme_classifier.h
deleted file mode 100644
index 26d0da3f21c7780d9efad1918f5b1f82512b747b..0000000000000000000000000000000000000000
--- a/components/autocomplete/autocomplete_scheme_classifier.h
+++ /dev/null
@@ -1,30 +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.
-
-#ifndef COMPONENTS_AUTOCOMPLETE_AUTOCOMPLETE_SCHEME_CLASSIFIER_H_
-#define COMPONENTS_AUTOCOMPLETE_AUTOCOMPLETE_SCHEME_CLASSIFIER_H_
-
-#include <string>
-
-#include "components/metrics/proto/omnibox_input_type.pb.h"
-
-// An interface that gives embedders the ability to automatically classify the
-// omnibox input type based on an explicitly-specified schemes. If users type
-// an input with an explicit scheme other than http, https, or file, this class
-// will be used to try and determine whether the input should be treated as a
-// URL (for known schemes we want to handle) or a query (for known schemes that
-// should be blocked), or if the scheme alone isn't sufficient to make a
-// determination.
-class AutocompleteSchemeClassifier {
- public:
- virtual ~AutocompleteSchemeClassifier() {}
-
- // Checks |scheme| and returns the type of the input if the scheme is known
- // and not blocked. Returns metrics::OmniboxInputType::INVALID if it's unknown
- // or the classifier implementation cannot handle.
- virtual metrics::OmniboxInputType::Type GetInputTypeForScheme(
- const std::string& scheme) const = 0;
-};
-
-#endif // COMPONENTS_AUTOCOMPLETE_AUTOCOMPLETE_SCHEME_CLASSIFIER_H_
« no previous file with comments | « components/autocomplete/autocomplete_provider_listener.h ('k') | components/autocomplete/search_suggestion_parser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698