| 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 <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "base/callback.h" | 10 #include "base/callback.h" |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 static const char kSearchURLPostParams[]; | 47 static const char kSearchURLPostParams[]; |
| 48 static const char kSuggestionsURLPostParams[]; | 48 static const char kSuggestionsURLPostParams[]; |
| 49 static const char kInstantURLPostParams[]; | 49 static const char kInstantURLPostParams[]; |
| 50 static const char kImageURLPostParams[]; | 50 static const char kImageURLPostParams[]; |
| 51 | 51 |
| 52 static const char kSafeForAutoReplace[]; | 52 static const char kSafeForAutoReplace[]; |
| 53 static const char kInputEncodings[]; | 53 static const char kInputEncodings[]; |
| 54 | 54 |
| 55 static const char kDateCreated[]; | 55 static const char kDateCreated[]; |
| 56 static const char kLastModified[]; | 56 static const char kLastModified[]; |
| 57 static const char kLastVisited[]; |
| 57 | 58 |
| 58 static const char kUsageCount[]; | 59 static const char kUsageCount[]; |
| 59 static const char kAlternateURLs[]; | 60 static const char kAlternateURLs[]; |
| 60 static const char kSearchTermsReplacementKey[]; | 61 static const char kSearchTermsReplacementKey[]; |
| 61 static const char kCreatedByPolicy[]; | 62 static const char kCreatedByPolicy[]; |
| 62 static const char kDisabledByPolicy[]; | 63 static const char kDisabledByPolicy[]; |
| 63 | 64 |
| 64 enum Source { | 65 enum Source { |
| 65 FROM_FALLBACK = 0, | 66 FROM_FALLBACK = 0, |
| 66 FROM_USER, | 67 FROM_USER, |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 157 // prefs). This will be null if no value was set in the pref store. | 158 // prefs). This will be null if no value was set in the pref store. |
| 158 std::unique_ptr<TemplateURLData> prefs_default_search_; | 159 std::unique_ptr<TemplateURLData> prefs_default_search_; |
| 159 | 160 |
| 160 // True if the default search is currently enforced by policy. | 161 // True if the default search is currently enforced by policy. |
| 161 bool default_search_controlled_by_policy_; | 162 bool default_search_controlled_by_policy_; |
| 162 | 163 |
| 163 DISALLOW_COPY_AND_ASSIGN(DefaultSearchManager); | 164 DISALLOW_COPY_AND_ASSIGN(DefaultSearchManager); |
| 164 }; | 165 }; |
| 165 | 166 |
| 166 #endif // COMPONENTS_SEARCH_ENGINES_DEFAULT_SEARCH_MANAGER_H_ | 167 #endif // COMPONENTS_SEARCH_ENGINES_DEFAULT_SEARCH_MANAGER_H_ |
| OLD | NEW |