OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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/bind.h" | 5 #include "base/bind.h" |
6 #include "base/message_loop.h" | 6 #include "base/message_loop/message_loop.h" |
7 #include "chrome/browser/local_discovery/privet_http_impl.h" | 7 #include "chrome/browser/local_discovery/privet_http_impl.h" |
8 #include "net/base/host_port_pair.h" | 8 #include "net/base/host_port_pair.h" |
9 #include "net/base/net_errors.h" | 9 #include "net/base/net_errors.h" |
10 #include "net/url_request/test_url_fetcher_factory.h" | 10 #include "net/url_request/test_url_fetcher_factory.h" |
11 #include "net/url_request/url_request_test_util.h" | 11 #include "net/url_request/url_request_test_util.h" |
12 #include "testing/gmock/include/gmock/gmock.h" | 12 #include "testing/gmock/include/gmock/gmock.h" |
13 #include "testing/gtest/include/gtest/gtest.h" | 13 #include "testing/gtest/include/gtest/gtest.h" |
14 | 14 |
15 using testing::StrictMock; | 15 using testing::StrictMock; |
16 using testing::NiceMock; | 16 using testing::NiceMock; |
(...skipping 402 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
419 | 419 |
420 EXPECT_TRUE(SuccessfulResponseToURL( | 420 EXPECT_TRUE(SuccessfulResponseToURL( |
421 GURL("http://10.0.0.8:6006/privet/register?" | 421 GURL("http://10.0.0.8:6006/privet/register?" |
422 "action=getClaimToken&user=example@google.com"), | 422 "action=getClaimToken&user=example@google.com"), |
423 kSampleRegisterErrorPermanent)); | 423 kSampleRegisterErrorPermanent)); |
424 } | 424 } |
425 | 425 |
426 } // namespace | 426 } // namespace |
427 | 427 |
428 } // namespace local_discovery | 428 } // namespace local_discovery |
OLD | NEW |