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

Side by Side Diff: athena/extensions/shell/athena_shell_scheme_classifier.cc

Issue 863033002: Delete athena/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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
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/extensions/shell/athena_shell_scheme_classifier.h"
6
7 #include "components/metrics/proto/omnibox_input_type.pb.h"
8 #include "net/url_request/url_request.h"
9
10 using metrics::OmniboxInputType::Type;
11
12 namespace athena {
13
14 AthenaShellSchemeClassifier::AthenaShellSchemeClassifier() {
15 }
16
17 AthenaShellSchemeClassifier::~AthenaShellSchemeClassifier() {
18 }
19
20 Type AthenaShellSchemeClassifier::GetInputTypeForScheme(
21 const std::string& scheme) const {
22 if (net::URLRequest::IsHandledProtocol(scheme))
23 return metrics::OmniboxInputType::URL;
24 return metrics::OmniboxInputType::INVALID;
25 }
26
27 } // namespace athena
OLDNEW
« no previous file with comments | « athena/extensions/shell/athena_shell_scheme_classifier.h ('k') | athena/extensions/shell/extensions_delegate_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698