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

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

Issue 1545223002: Switch to standard integer types in chrome/browser/, part 4 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 4 years, 12 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 #include "chrome/browser/sync/test/integration/search_engines_helper.h" 5 #include "chrome/browser/sync/test/integration/search_engines_helper.h"
6 6
7 #include <stddef.h>
8
7 #include <vector> 9 #include <vector>
8 10
9 #include "base/strings/string_util.h" 11 #include "base/strings/string_util.h"
10 #include "base/strings/stringprintf.h" 12 #include "base/strings/stringprintf.h"
11 #include "base/strings/utf_string_conversions.h" 13 #include "base/strings/utf_string_conversions.h"
12 #include "base/time/time.h" 14 #include "base/time/time.h"
13 #include "chrome/browser/profiles/profile.h" 15 #include "chrome/browser/profiles/profile.h"
14 #include "chrome/browser/search_engines/template_url_service_factory.h" 16 #include "chrome/browser/search_engines/template_url_service_factory.h"
15 #include "chrome/browser/sync/test/integration/await_match_status_change_checker .h" 17 #include "chrome/browser/sync/test/integration/await_match_status_change_checker .h"
16 #include "chrome/browser/sync/test/integration/profile_sync_service_harness.h" 18 #include "chrome/browser/sync/test/integration/profile_sync_service_harness.h"
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 } 276 }
275 277
276 bool HasSearchEngine(int profile_index, int seed) { 278 bool HasSearchEngine(int profile_index, int seed) {
277 TemplateURLService* service = GetServiceForBrowserContext(profile_index); 279 TemplateURLService* service = GetServiceForBrowserContext(profile_index);
278 base::string16 keyword(CreateKeyword(seed)); 280 base::string16 keyword(CreateKeyword(seed));
279 TemplateURL* turl = service->GetTemplateURLForKeyword(keyword); 281 TemplateURL* turl = service->GetTemplateURLForKeyword(keyword);
280 return turl != nullptr; 282 return turl != nullptr;
281 } 283 }
282 284
283 } // namespace search_engines_helper 285 } // namespace search_engines_helper
OLDNEW
« no previous file with comments | « chrome/browser/sync/test/integration/retry_verifier.cc ('k') | chrome/browser/sync/test/integration/sessions_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698