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

Side by Side Diff: components/google/core/browser/google_url_tracker_unittest.cc

Issue 1970833002: Fix include path for moved thread_task_runner_handle.h header in components/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: merge up to r393009 Created 4 years, 7 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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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 "components/google/core/browser/google_url_tracker.h" 5 #include "components/google/core/browser/google_url_tracker.h"
6 6
7 #include <memory> 7 #include <memory>
8 #include <string> 8 #include <string>
9 #include <utility> 9 #include <utility>
10 10
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "base/thread_task_runner_handle.h" 12 #include "base/threading/thread_task_runner_handle.h"
13 #include "components/google/core/browser/google_pref_names.h" 13 #include "components/google/core/browser/google_pref_names.h"
14 #include "components/google/core/browser/google_url_tracker_client.h" 14 #include "components/google/core/browser/google_url_tracker_client.h"
15 #include "components/prefs/pref_registry_simple.h" 15 #include "components/prefs/pref_registry_simple.h"
16 #include "components/prefs/pref_service.h" 16 #include "components/prefs/pref_service.h"
17 #include "components/prefs/testing_pref_service.h" 17 #include "components/prefs/testing_pref_service.h"
18 #include "net/url_request/test_url_fetcher_factory.h" 18 #include "net/url_request/test_url_fetcher_factory.h"
19 #include "net/url_request/url_fetcher.h" 19 #include "net/url_request/url_fetcher.h"
20 #include "net/url_request/url_request_test_util.h" 20 #include "net/url_request/url_request_test_util.h"
21 #include "testing/gtest/include/gtest/gtest.h" 21 #include "testing/gtest/include/gtest/gtest.h"
22 22
(...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after
345 EXPECT_TRUE(listener_notified()); 345 EXPECT_TRUE(listener_notified());
346 clear_listener_notified(); 346 clear_listener_notified();
347 347
348 RequestServerCheck(); 348 RequestServerCheck();
349 // The second request should be ignored. 349 // The second request should be ignored.
350 EXPECT_FALSE(GetFetcher()); 350 EXPECT_FALSE(GetFetcher());
351 MockSearchDomainCheckResponse(".google.co.in"); 351 MockSearchDomainCheckResponse(".google.co.in");
352 EXPECT_EQ(GURL("https://www.google.co.uk/"), google_url()); 352 EXPECT_EQ(GURL("https://www.google.co.uk/"), google_url());
353 EXPECT_FALSE(listener_notified()); 353 EXPECT_FALSE(listener_notified());
354 } 354 }
OLDNEW
« no previous file with comments | « components/google/core/browser/google_url_tracker.cc ('k') | components/history/core/browser/history_backend_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698