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 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 #pragma once | |
8 | 7 |
9 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
10 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
11 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
12 #include "base/string16.h" | 11 #include "base/string16.h" |
13 #include "chrome/browser/profiles/profile_keyed_service.h" | 12 #include "chrome/browser/profiles/profile_keyed_service.h" |
14 | 13 |
15 class AutocompleteController; | 14 class AutocompleteController; |
16 struct AutocompleteMatch; | 15 struct AutocompleteMatch; |
17 class GURL; | 16 class GURL; |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 scoped_ptr<AutocompleteController> controller_; | 49 scoped_ptr<AutocompleteController> controller_; |
51 | 50 |
52 // Are we currently in Classify? Used to verify Classify isn't invoked | 51 // Are we currently in Classify? Used to verify Classify isn't invoked |
53 // recursively, since this can corrupt state and cause crashes. | 52 // recursively, since this can corrupt state and cause crashes. |
54 bool inside_classify_; | 53 bool inside_classify_; |
55 | 54 |
56 DISALLOW_IMPLICIT_CONSTRUCTORS(AutocompleteClassifier); | 55 DISALLOW_IMPLICIT_CONSTRUCTORS(AutocompleteClassifier); |
57 }; | 56 }; |
58 | 57 |
59 #endif // CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_CLASSIFIER_H_ | 58 #endif // CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_CLASSIFIER_H_ |
OLD | NEW |