OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 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_SEARCH_ENGINES_DEFAULT_SEARCH_MANAGER_H_ | 5 #ifndef COMPONENTS_SEARCH_ENGINES_DEFAULT_SEARCH_MANAGER_H_ |
6 #define COMPONENTS_SEARCH_ENGINES_DEFAULT_SEARCH_MANAGER_H_ | 6 #define COMPONENTS_SEARCH_ENGINES_DEFAULT_SEARCH_MANAGER_H_ |
7 | 7 |
8 #include "base/callback.h" | 8 #include "base/callback.h" |
9 #include "base/macros.h" | 9 #include "base/macros.h" |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
11 #include "base/prefs/pref_change_registrar.h" | 11 #include "components/prefs/pref_change_registrar.h" |
12 | 12 |
13 namespace base { | 13 namespace base { |
14 class DictionaryValue; | 14 class DictionaryValue; |
15 } | 15 } |
16 | 16 |
17 namespace user_prefs { | 17 namespace user_prefs { |
18 class PrefRegistrySyncable; | 18 class PrefRegistrySyncable; |
19 } | 19 } |
20 | 20 |
21 class PrefService; | 21 class PrefService; |
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 // prefs). This will be null if no value was set in the pref store. | 155 // prefs). This will be null if no value was set in the pref store. |
156 scoped_ptr<TemplateURLData> prefs_default_search_; | 156 scoped_ptr<TemplateURLData> prefs_default_search_; |
157 | 157 |
158 // True if the default search is currently enforced by policy. | 158 // True if the default search is currently enforced by policy. |
159 bool default_search_controlled_by_policy_; | 159 bool default_search_controlled_by_policy_; |
160 | 160 |
161 DISALLOW_COPY_AND_ASSIGN(DefaultSearchManager); | 161 DISALLOW_COPY_AND_ASSIGN(DefaultSearchManager); |
162 }; | 162 }; |
163 | 163 |
164 #endif // COMPONENTS_SEARCH_ENGINES_DEFAULT_SEARCH_MANAGER_H_ | 164 #endif // COMPONENTS_SEARCH_ENGINES_DEFAULT_SEARCH_MANAGER_H_ |
OLD | NEW |