OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 "base/string_util.h" | 5 #include "base/string_util.h" |
6 #include "base/waitable_event.h" | 6 #include "base/waitable_event.h" |
7 #include "googleurl/src/gurl.h" | 7 #include "googleurl/src/gurl.h" |
8 #include "net/base/net_log.h" | 8 #include "net/base/net_log.h" |
9 #include "net/base/net_log_unittest.h" | 9 #include "net/base/net_log_unittest.h" |
10 #include "net/base/net_errors.h" | 10 #include "net/base/net_errors.h" |
(...skipping 456 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
467 rv = callback1.WaitForResult(); | 467 rv = callback1.WaitForResult(); |
468 EXPECT_EQ(1, rv); | 468 EXPECT_EQ(1, rv); |
469 EXPECT_EQ("PROXY request1:80", results1.ToPacString()); | 469 EXPECT_EQ("PROXY request1:80", results1.ToPacString()); |
470 | 470 |
471 // The SetPacScript callback should never have been completed. | 471 // The SetPacScript callback should never have been completed. |
472 EXPECT_FALSE(set_pac_script_callback.have_result()); | 472 EXPECT_FALSE(set_pac_script_callback.have_result()); |
473 } | 473 } |
474 | 474 |
475 } // namespace | 475 } // namespace |
476 } // namespace net | 476 } // namespace net |
OLD | NEW |