OLD | NEW |
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 COMPONENTS_OMNIBOX_BROWSER_AUTOCOMPLETE_CLASSIFIER_H_ | 5 #ifndef COMPONENTS_OMNIBOX_BROWSER_AUTOCOMPLETE_CLASSIFIER_H_ |
6 #define COMPONENTS_OMNIBOX_BROWSER_AUTOCOMPLETE_CLASSIFIER_H_ | 6 #define COMPONENTS_OMNIBOX_BROWSER_AUTOCOMPLETE_CLASSIFIER_H_ |
7 | 7 |
8 #include "base/basictypes.h" | |
9 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/macros.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/keyed_service/core/keyed_service.h" | 12 #include "components/keyed_service/core/keyed_service.h" |
13 #include "components/metrics/proto/omnibox_event.pb.h" | 13 #include "components/metrics/proto/omnibox_event.pb.h" |
14 #include "components/omnibox/browser/autocomplete_scheme_classifier.h" | 14 #include "components/omnibox/browser/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 |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 // COMPONENTS_OMNIBOX_BROWSER_AUTOCOMPLETE_CLASSIFIER_H_ | 70 #endif // COMPONENTS_OMNIBOX_BROWSER_AUTOCOMPLETE_CLASSIFIER_H_ |
OLD | NEW |