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

Side by Side Diff: athena/content/chrome/scheme_classifier_factory.cc

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 unified diff | Download patch
« no previous file with comments | « athena/content/DEPS ('k') | athena/content/public/scheme_classifier_factory.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "athena/content/public/scheme_classifier_factory.h"
6
7 #include "chrome/browser/autocomplete/chrome_autocomplete_scheme_classifier.h"
8 #include "chrome/browser/profiles/profile.h"
9
10 namespace athena {
11
12 scoped_ptr<AutocompleteSchemeClassifier> CreateSchemeClassifier(
13 content::BrowserContext* context) {
14 return scoped_ptr<AutocompleteSchemeClassifier>(
15 new ChromeAutocompleteSchemeClassifier(
16 Profile::FromBrowserContext(context)));
17 }
18
19 } // namespace athena
OLDNEW
« no previous file with comments | « athena/content/DEPS ('k') | athena/content/public/scheme_classifier_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698