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

Side by Side Diff: chrome/browser/sync/test/integration/search_engines_helper.h

Issue 2689773002: [Sync] Replace typedef with using. (Closed)
Patch Set: [Sync] Replace typedef with using. Created 3 years, 10 months 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CHROME_BROWSER_SYNC_TEST_INTEGRATION_SEARCH_ENGINES_HELPER_H_ 5 #ifndef CHROME_BROWSER_SYNC_TEST_INTEGRATION_SEARCH_ENGINES_HELPER_H_
6 #define CHROME_BROWSER_SYNC_TEST_INTEGRATION_SEARCH_ENGINES_HELPER_H_ 6 #define CHROME_BROWSER_SYNC_TEST_INTEGRATION_SEARCH_ENGINES_HELPER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <memory> 9 #include <memory>
10 #include <string> 10 #include <string>
11 11
12 #include "base/strings/string16.h" 12 #include "base/strings/string16.h"
13 #include "chrome/browser/sync/test/integration/await_match_status_change_checker .h" 13 #include "chrome/browser/sync/test/integration/await_match_status_change_checker .h"
14 14
15 class Profile; 15 class Profile;
16 class TemplateURL; 16 class TemplateURL;
17 class TemplateURLService; 17 class TemplateURLService;
18 18
19 typedef std::map<std::string, const TemplateURL*> GUIDToTURLMap; 19 using GUIDToTURLMap = std::map<std::string, const TemplateURL*>;
20 20
21 namespace search_engines_helper { 21 namespace search_engines_helper {
22 22
23 // Used to access the search engines within a particular sync profile. 23 // Used to access the search engines within a particular sync profile.
24 TemplateURLService* GetServiceForBrowserContext(int profile_index); 24 TemplateURLService* GetServiceForBrowserContext(int profile_index);
25 25
26 // Used to access the search engines within the verifier sync profile. 26 // Used to access the search engines within the verifier sync profile.
27 TemplateURLService* GetVerifierService(); 27 TemplateURLService* GetVerifierService();
28 28
29 // Compared a single TemplateURLService for a given profile to the verifier. 29 // Compared a single TemplateURLService for a given profile to the verifier.
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 74
75 } // namespace search_engines_helper 75 } // namespace search_engines_helper
76 76
77 // Checker that blocks until all services have the same search engine data. 77 // Checker that blocks until all services have the same search engine data.
78 class SearchEnginesMatchChecker : public AwaitMatchStatusChangeChecker { 78 class SearchEnginesMatchChecker : public AwaitMatchStatusChangeChecker {
79 public: 79 public:
80 SearchEnginesMatchChecker(); 80 SearchEnginesMatchChecker();
81 }; 81 };
82 82
83 #endif // CHROME_BROWSER_SYNC_TEST_INTEGRATION_SEARCH_ENGINES_HELPER_H_ 83 #endif // CHROME_BROWSER_SYNC_TEST_INTEGRATION_SEARCH_ENGINES_HELPER_H_
OLDNEW
« no previous file with comments | « chrome/browser/sync/test/integration/migration_test.cc ('k') | chrome/browser/sync/test/integration/sync_app_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698