Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(100)

Side by Side Diff: components/search_engines/default_search_manager.h

Issue 2497853002: Create TemplateUrlData to base::Dictionary utility functions (Closed)
Patch Set: Fixed android compilation Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « components/search_engines/BUILD.gn ('k') | components/search_engines/default_search_manager.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « components/search_engines/BUILD.gn ('k') | components/search_engines/default_search_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698