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

Side by Side Diff: components/proxy_config/pref_proxy_config_tracker_impl_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 (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/proxy_config/pref_proxy_config_tracker_impl.h" 5 #include "components/proxy_config/pref_proxy_config_tracker_impl.h"
6 6
7 #include <memory> 7 #include <memory>
8 #include <string> 8 #include <string>
9 9
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
11 #include "base/message_loop/message_loop.h" 11 #include "base/message_loop/message_loop.h"
12 #include "base/thread_task_runner_handle.h" 12 #include "base/threading/thread_task_runner_handle.h"
13 #include "components/prefs/pref_registry_simple.h" 13 #include "components/prefs/pref_registry_simple.h"
14 #include "components/prefs/testing_pref_service.h" 14 #include "components/prefs/testing_pref_service.h"
15 #include "components/proxy_config/proxy_config_dictionary.h" 15 #include "components/proxy_config/proxy_config_dictionary.h"
16 #include "components/proxy_config/proxy_config_pref_names.h" 16 #include "components/proxy_config/proxy_config_pref_names.h"
17 #include "net/proxy/proxy_info.h" 17 #include "net/proxy/proxy_info.h"
18 #include "net/proxy/proxy_list.h" 18 #include "net/proxy/proxy_list.h"
19 #include "testing/gmock/include/gmock/gmock.h" 19 #include "testing/gmock/include/gmock/gmock.h"
20 #include "testing/gtest/include/gtest/gtest.h" 20 #include "testing/gtest/include/gtest/gtest.h"
21 #include "url/gurl.h" 21 #include "url/gurl.h"
22 22
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 loop_.RunUntilIdle(); 263 loop_.RunUntilIdle();
264 264
265 // Test if we actually use the system setting, which is |kFixedPacUrl|. 265 // Test if we actually use the system setting, which is |kFixedPacUrl|.
266 net::ProxyConfig actual_config; 266 net::ProxyConfig actual_config;
267 EXPECT_EQ(net::ProxyConfigService::CONFIG_VALID, 267 EXPECT_EQ(net::ProxyConfigService::CONFIG_VALID,
268 proxy_config_service_->GetLatestProxyConfig(&actual_config)); 268 proxy_config_service_->GetLatestProxyConfig(&actual_config));
269 EXPECT_EQ(GURL(kFixedPacUrl), actual_config.pac_url()); 269 EXPECT_EQ(GURL(kFixedPacUrl), actual_config.pac_url());
270 } 270 }
271 271
272 } // namespace 272 } // namespace
OLDNEW
« no previous file with comments | « components/proximity_auth/webui/reachable_phone_flow.cc ('k') | components/rappor/log_uploader_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698