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

Side by Side Diff: chrome/browser/autocomplete/autocomplete_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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_CLASSIFIER_H_ 5 #ifndef CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_CLASSIFIER_H_
6 #define CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_CLASSIFIER_H_ 6 #define CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_CLASSIFIER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
11 #include "base/strings/string16.h" 11 #include "base/strings/string16.h"
12 #include "components/autocomplete/autocomplete_scheme_classifier.h"
13 #include "components/keyed_service/core/keyed_service.h" 12 #include "components/keyed_service/core/keyed_service.h"
14 #include "components/metrics/proto/omnibox_event.pb.h" 13 #include "components/metrics/proto/omnibox_event.pb.h"
14 #include "components/omnibox/autocomplete_scheme_classifier.h"
15 15
16 class AutocompleteController; 16 class AutocompleteController;
17 struct AutocompleteMatch; 17 struct AutocompleteMatch;
18 class GURL; 18 class GURL;
19 19
20 class AutocompleteClassifier : public KeyedService { 20 class AutocompleteClassifier : public KeyedService {
21 public: 21 public:
22 // Bitmap of AutocompleteProvider::Type values describing the default set of 22 // Bitmap of AutocompleteProvider::Type values describing the default set of
23 // providers queried for the omnibox. Intended to be passed to 23 // providers queried for the omnibox. Intended to be passed to
24 // AutocompleteController(). 24 // AutocompleteController().
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 scoped_ptr<AutocompleteSchemeClassifier> scheme_classifier_; 61 scoped_ptr<AutocompleteSchemeClassifier> scheme_classifier_;
62 62
63 // Are we currently in Classify? Used to verify Classify isn't invoked 63 // Are we currently in Classify? Used to verify Classify isn't invoked
64 // recursively, since this can corrupt state and cause crashes. 64 // recursively, since this can corrupt state and cause crashes.
65 bool inside_classify_; 65 bool inside_classify_;
66 66
67 DISALLOW_IMPLICIT_CONSTRUCTORS(AutocompleteClassifier); 67 DISALLOW_IMPLICIT_CONSTRUCTORS(AutocompleteClassifier);
68 }; 68 };
69 69
70 #endif // CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_CLASSIFIER_H_ 70 #endif // CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_CLASSIFIER_H_
OLDNEW
« no previous file with comments | « chrome/browser/autocomplete/autocomplete_browsertest.cc ('k') | chrome/browser/autocomplete/autocomplete_classifier.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698