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

Side by Side Diff: chrome/browser/local_discovery/test_service_discovery_client.cc

Issue 252023003: Revert of Revert of Move service_discovery_client_impl.* into chrome/common. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/local_discovery/DEPS ('k') | chrome/chrome.gyp » ('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 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 "chrome/browser/local_discovery/test_service_discovery_client.h" 5 #include "chrome/browser/local_discovery/test_service_discovery_client.h"
6 6
7 #include "chrome/utility/local_discovery/service_discovery_client_impl.h" 7 #include "chrome/common/local_discovery/service_discovery_client_impl.h"
8 #include "net/dns/mdns_client_impl.h" 8 #include "net/dns/mdns_client_impl.h"
9 9
10 namespace local_discovery { 10 namespace local_discovery {
11 11
12 TestServiceDiscoveryClient::TestServiceDiscoveryClient() { 12 TestServiceDiscoveryClient::TestServiceDiscoveryClient() {
13 } 13 }
14 14
15 TestServiceDiscoveryClient::~TestServiceDiscoveryClient() { 15 TestServiceDiscoveryClient::~TestServiceDiscoveryClient() {
16 } 16 }
17 17
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 return service_discovery_client_impl_->CreateLocalDomainResolver( 49 return service_discovery_client_impl_->CreateLocalDomainResolver(
50 domain, address_family, callback); 50 domain, address_family, callback);
51 } 51 }
52 52
53 void TestServiceDiscoveryClient::SimulateReceive(const uint8* packet, 53 void TestServiceDiscoveryClient::SimulateReceive(const uint8* packet,
54 int size) { 54 int size) {
55 mock_socket_factory_.SimulateReceive(packet, size); 55 mock_socket_factory_.SimulateReceive(packet, size);
56 } 56 }
57 57
58 } // namespace local_discovery 58 } // namespace local_discovery
OLDNEW
« no previous file with comments | « chrome/browser/local_discovery/DEPS ('k') | chrome/chrome.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698