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

Side by Side Diff: net/proxy/proxy_config_service_linux_unittest.cc

Issue 9114020: Remove task.h and finish base::Bind() migration. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix typo Created 8 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « net/proxy/proxy_config_service_linux.cc ('k') | net/proxy/proxy_script_fetcher_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "net/proxy/proxy_config_service_linux.h" 5 #include "net/proxy/proxy_config_service_linux.h"
6 6
7 #include <map> 7 #include <map>
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/bind.h" 11 #include "base/bind.h"
12 #include "base/compiler_specific.h" 12 #include "base/compiler_specific.h"
13 #include "base/file_path.h" 13 #include "base/file_path.h"
14 #include "base/file_util.h" 14 #include "base/file_util.h"
15 #include "base/format_macros.h" 15 #include "base/format_macros.h"
16 #include "base/logging.h" 16 #include "base/logging.h"
17 #include "base/string_util.h" 17 #include "base/string_util.h"
18 #include "base/stringprintf.h" 18 #include "base/stringprintf.h"
19 #include "base/synchronization/waitable_event.h" 19 #include "base/synchronization/waitable_event.h"
20 #include "base/task.h"
21 #include "base/threading/thread.h" 20 #include "base/threading/thread.h"
22 #include "net/proxy/proxy_config.h" 21 #include "net/proxy/proxy_config.h"
23 #include "net/proxy/proxy_config_service_common_unittest.h" 22 #include "net/proxy/proxy_config_service_common_unittest.h"
24 #include "testing/gtest/include/gtest/gtest.h" 23 #include "testing/gtest/include/gtest/gtest.h"
25 #include "testing/platform_test.h" 24 #include "testing/platform_test.h"
26 25
27 namespace net { 26 namespace net {
28 namespace { 27 namespace {
29 28
30 // Set of values for all environment variables that we might 29 // Set of values for all environment variables that we might
(...skipping 1511 matching lines...) Expand 10 before | Expand all | Expand 10 after
1542 ProxyConfig config; 1541 ProxyConfig config;
1543 sync_config_getter.SetupAndInitialFetch(); 1542 sync_config_getter.SetupAndInitialFetch();
1544 EXPECT_EQ(ProxyConfigService::CONFIG_VALID, 1543 EXPECT_EQ(ProxyConfigService::CONFIG_VALID,
1545 sync_config_getter.SyncGetLatestProxyConfig(&config)); 1544 sync_config_getter.SyncGetLatestProxyConfig(&config));
1546 EXPECT_TRUE(config.auto_detect()); 1545 EXPECT_TRUE(config.auto_detect());
1547 EXPECT_EQ(GURL(), config.pac_url()); 1546 EXPECT_EQ(GURL(), config.pac_url());
1548 } 1547 }
1549 } 1548 }
1550 1549
1551 } // namespace net 1550 } // namespace net
OLDNEW
« no previous file with comments | « net/proxy/proxy_config_service_linux.cc ('k') | net/proxy/proxy_script_fetcher_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698