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

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

Issue 2498053002: Add field to monitor last visited time for each search engine (Closed)
Patch Set: Update Nit comment. Created 4 years 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
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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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_
OLDNEW
« no previous file with comments | « chrome/browser/search_engines/template_url_service_unittest.cc ('k') | components/search_engines/default_search_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698