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

Side by Side Diff: chrome/browser/extensions/api/dial/dial_service_unittest.cc

Issue 1290723003: Stop including network_interfaces.h from net_util.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: TOT and remove AUTHORS change as it is there already Created 5 years, 4 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) 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 "base/memory/ref_counted.h" 5 #include "base/memory/ref_counted.h"
6 #include "base/memory/scoped_ptr.h" 6 #include "base/memory/scoped_ptr.h"
7 #include "base/message_loop/message_loop.h" 7 #include "base/message_loop/message_loop.h"
8 #include "chrome/browser/extensions/api/dial/dial_device_data.h" 8 #include "chrome/browser/extensions/api/dial/dial_device_data.h"
9 #include "chrome/browser/extensions/api/dial/dial_service.h" 9 #include "chrome/browser/extensions/api/dial/dial_service.h"
10 #include "net/base/ip_endpoint.h" 10 #include "net/base/ip_endpoint.h"
11 #include "net/base/network_interfaces.h"
11 #include "net/log/test_net_log.h" 12 #include "net/log/test_net_log.h"
12 #include "testing/gmock/include/gmock/gmock.h" 13 #include "testing/gmock/include/gmock/gmock.h"
13 #include "testing/gtest/include/gtest/gtest.h" 14 #include "testing/gtest/include/gtest/gtest.h"
14 15
15 using base::Time; 16 using base::Time;
16 using base::TimeDelta; 17 using base::TimeDelta;
17 using ::testing::A; 18 using ::testing::A;
18 using ::testing::AtLeast; 19 using ::testing::AtLeast;
19 using ::testing::Return; 20 using ::testing::Return;
20 21
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 217
217 // Empty USN 218 // Empty USN
218 EXPECT_FALSE(DialServiceImpl::DialSocket::ParseResponse( 219 EXPECT_FALSE(DialServiceImpl::DialSocket::ParseResponse(
219 "HTTP/1.1 OK\r\n" 220 "HTTP/1.1 OK\r\n"
220 "LOCATION: http://127.0.0.1/dd.xml\r\n" 221 "LOCATION: http://127.0.0.1/dd.xml\r\n"
221 "USN:\r\n\r\n", 222 "USN:\r\n\r\n",
222 now, &not_parsed)); 223 now, &not_parsed));
223 } 224 }
224 225
225 } // namespace extensions 226 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/browser/extensions/api/dial/dial_service.cc ('k') | chrome/browser/local_discovery/privet_traffic_detector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698