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

Unified Diff: athena/content/public/scheme_classifier_factory.h

Issue 584263002: Use ChromeAutocompleteSchemeClassifier for Athena on Chrome. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 6 years, 3 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: athena/content/public/scheme_classifier_factory.h
diff --git a/athena/content/public/scheme_classifier_factory.h b/athena/content/public/scheme_classifier_factory.h
new file mode 100644
index 0000000000000000000000000000000000000000..272736ef5b1c57f6e15bab0fbff32d975b19b5b5
--- /dev/null
+++ b/athena/content/public/scheme_classifier_factory.h
@@ -0,0 +1,24 @@
+// 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 ATHENA_CONTENT_PUBLIC_SCHEME_CLASSIFIER_FACTORY_H_
+#define ATHENA_CONTENT_PUBLIC_SCHEME_CLASSIFIER_FACTORY_H_
+
+#include "base/memory/scoped_ptr.h"
+#include "components/omnibox/autocomplete_scheme_classifier.h"
+
+namespace content {
+class BrowserContext;
+}
+
+namespace athena {
+
+// Create the AutocompleteSchemeClassifier implementation of the current
+// environment.
+scoped_ptr<AutocompleteSchemeClassifier> CreateSchemeClassifier(
+ content::BrowserContext* context);
+
+} // namespace athena
+
+#endif // ATHENA_CONTENT_PUBLIC_SCHEME_CLASSIFIER_FACTORY_H_
« no previous file with comments | « athena/content/chrome/scheme_classifier_factory.cc ('k') | athena/content/shell/scheme_classifier_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698