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 CHROME_BROWSER_SEARCH_ENGINES_DEFAULT_SEARCH_MANAGER_H_ | 5 #ifndef COMPONENTS_SEARCH_ENGINES_DEFAULT_SEARCH_MANAGER_H_ |
6 #define CHROME_BROWSER_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 "base/prefs/pref_change_registrar.h" |
12 | 12 |
13 namespace base { | 13 namespace base { |
14 class DictionaryValue; | 14 class DictionaryValue; |
15 } | 15 } |
16 | 16 |
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
154 // This will be null if there are no extensions installed which provide | 154 // This will be null if there are no extensions installed which provide |
155 // default search engines. | 155 // default search engines. |
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 // CHROME_BROWSER_SEARCH_ENGINES_DEFAULT_SEARCH_MANAGER_H_ | 164 #endif // COMPONENTS_SEARCH_ENGINES_DEFAULT_SEARCH_MANAGER_H_ |
OLD | NEW |