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

Side by Side Diff: chrome/browser/search_engines/search_provider_install_data_unittest.cc

Issue 1548133002: Switch to standard integer types in chrome/browser/, part 3 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 <string> 5 #include <string>
6 6
7 #include "base/basictypes.h"
8 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/macros.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
11 #include "base/message_loop/message_loop.h" 11 #include "base/message_loop/message_loop.h"
12 #include "base/run_loop.h" 12 #include "base/run_loop.h"
13 #include "base/strings/utf_string_conversions.h" 13 #include "base/strings/utf_string_conversions.h"
14 #include "chrome/browser/search_engines/search_provider_install_data.h" 14 #include "chrome/browser/search_engines/search_provider_install_data.h"
15 #include "chrome/browser/search_engines/template_url_service_test_util.h" 15 #include "chrome/browser/search_engines/template_url_service_test_util.h"
16 #include "chrome/test/base/testing_profile.h" 16 #include "chrome/test/base/testing_profile.h"
17 #include "components/search_engines/search_terms_data.h" 17 #include "components/search_engines/search_terms_data.h"
18 #include "components/search_engines/template_url.h" 18 #include "components/search_engines/template_url.h"
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
270 // Verify the search providers install state (with no default set). 270 // Verify the search providers install state (with no default set).
271 test_get_install_state.RunTests(google_host, std::string()); 271 test_get_install_state.RunTests(google_host, std::string());
272 272
273 // Change the Google base url. 273 // Change the Google base url.
274 google_host = "foo.com"; 274 google_host = "foo.com";
275 SetGoogleBaseURLAndProcessOnIOThread(GURL("http://" + google_host + "/")); 275 SetGoogleBaseURLAndProcessOnIOThread(GURL("http://" + google_host + "/"));
276 276
277 // Verify that the change got picked up. 277 // Verify that the change got picked up.
278 test_get_install_state.RunTests(google_host, std::string()); 278 test_get_install_state.RunTests(google_host, std::string());
279 } 279 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698