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

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

Issue 2479113002: Make extensions DSE persistent in browser prefs (Closed)
Patch Set: Updated after review, round 6 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
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef COMPONENTS_SEARCH_ENGINES_SEARCH_ENGINES_TEST_UTIL_H_
6 #define COMPONENTS_SEARCH_ENGINES_SEARCH_ENGINES_TEST_UTIL_H_
7
8 #include <string>
9
10 struct TemplateURLData;
11
12 // Generate TemplateUrlData structure useful for tests filled with values
Peter Kasting 2016/12/22 20:49:04 Nit: Url -> URL
Alexander Yashkin 2016/12/23 19:44:09 Done
13 // autogenerated from provider_name param.
14 std::unique_ptr<TemplateURLData> GenerateDummyTemplateURLData(
Peter Kasting 2016/12/22 20:49:04 I'm kinda surprised we don't have functions like t
Alexander Yashkin 2016/12/23 19:44:09 I think I saw several similar functions across cod
15 const std::string& provider_name);
16
17 // Checks that the two TemplateURLs are similar. Does not check the id, the
18 // date_created or the last_modified time. Neither pointer should be nullptr.
Peter Kasting 2016/12/22 20:49:04 Nit: In comments, just say "null".
Alexander Yashkin 2016/12/23 19:44:09 Done
19 void ExpectSimilar(const TemplateURLData* expected,
20 const TemplateURLData* actual);
21
22 #endif // COMPONENTS_SEARCH_ENGINES_SEARCH_ENGINES_TEST_UTIL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698