| 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 22 matching lines...) Expand all Loading... |
| 33 static const char kShortName[]; | 33 static const char kShortName[]; |
| 34 static const char kKeyword[]; | 34 static const char kKeyword[]; |
| 35 static const char kPrepopulateID[]; | 35 static const char kPrepopulateID[]; |
| 36 static const char kSyncGUID[]; | 36 static const char kSyncGUID[]; |
| 37 | 37 |
| 38 static const char kURL[]; | 38 static const char kURL[]; |
| 39 static const char kSuggestionsURL[]; | 39 static const char kSuggestionsURL[]; |
| 40 static const char kInstantURL[]; | 40 static const char kInstantURL[]; |
| 41 static const char kImageURL[]; | 41 static const char kImageURL[]; |
| 42 static const char kNewTabURL[]; | 42 static const char kNewTabURL[]; |
| 43 static const char kContextualSearchURL[]; |
| 43 static const char kFaviconURL[]; | 44 static const char kFaviconURL[]; |
| 44 static const char kOriginatingURL[]; | 45 static const char kOriginatingURL[]; |
| 45 | 46 |
| 46 static const char kSearchURLPostParams[]; | 47 static const char kSearchURLPostParams[]; |
| 47 static const char kSuggestionsURLPostParams[]; | 48 static const char kSuggestionsURLPostParams[]; |
| 48 static const char kInstantURLPostParams[]; | 49 static const char kInstantURLPostParams[]; |
| 49 static const char kImageURLPostParams[]; | 50 static const char kImageURLPostParams[]; |
| 50 | 51 |
| 51 static const char kSafeForAutoReplace[]; | 52 static const char kSafeForAutoReplace[]; |
| 52 static const char kInputEncodings[]; | 53 static const char kInputEncodings[]; |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 156 // prefs). This will be null if no value was set in the pref store. | 157 // prefs). This will be null if no value was set in the pref store. |
| 157 std::unique_ptr<TemplateURLData> prefs_default_search_; | 158 std::unique_ptr<TemplateURLData> prefs_default_search_; |
| 158 | 159 |
| 159 // True if the default search is currently enforced by policy. | 160 // True if the default search is currently enforced by policy. |
| 160 bool default_search_controlled_by_policy_; | 161 bool default_search_controlled_by_policy_; |
| 161 | 162 |
| 162 DISALLOW_COPY_AND_ASSIGN(DefaultSearchManager); | 163 DISALLOW_COPY_AND_ASSIGN(DefaultSearchManager); |
| 163 }; | 164 }; |
| 164 | 165 |
| 165 #endif // COMPONENTS_SEARCH_ENGINES_DEFAULT_SEARCH_MANAGER_H_ | 166 #endif // COMPONENTS_SEARCH_ENGINES_DEFAULT_SEARCH_MANAGER_H_ |
| OLD | NEW |