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

Side by Side Diff: chrome/browser/extensions/api/mdns/dns_sd_registry_unittest.cc

Issue 258893005: Removed unused include of service_discovery_host_client.h. (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 | « no previous file | no next file » | 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/extensions/api/mdns/dns_sd_registry.h" 5 #include "chrome/browser/extensions/api/mdns/dns_sd_registry.h"
6 #include "chrome/browser/extensions/api/mdns/dns_sd_delegate.h" 6 #include "chrome/browser/extensions/api/mdns/dns_sd_delegate.h"
7 #include "chrome/browser/extensions/api/mdns/dns_sd_device_lister.h" 7 #include "chrome/browser/extensions/api/mdns/dns_sd_device_lister.h"
8 #include "chrome/browser/local_discovery/service_discovery_host_client.h"
9 #include "testing/gmock/include/gmock/gmock.h" 8 #include "testing/gmock/include/gmock/gmock.h"
10 #include "testing/gtest/include/gtest/gtest.h" 9 #include "testing/gtest/include/gtest/gtest.h"
11 10
12 namespace extensions { 11 namespace extensions {
13 12
14 class MockDnsSdDeviceLister : public DnsSdDeviceLister { 13 class MockDnsSdDeviceLister : public DnsSdDeviceLister {
15 public: 14 public:
16 MockDnsSdDeviceLister() : DnsSdDeviceLister(NULL, NULL, "") {} 15 MockDnsSdDeviceLister() : DnsSdDeviceLister(NULL, NULL, "") {}
17 virtual ~MockDnsSdDeviceLister() {} 16 virtual ~MockDnsSdDeviceLister() {}
18 17
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 service.ip_address = "192.168.0.100"; 228 service.ip_address = "192.168.0.100";
230 registry_->GetDelegate()->ServiceChanged(service_type, true, service); 229 registry_->GetDelegate()->ServiceChanged(service_type, true, service);
231 // Update with changed ip address. 230 // Update with changed ip address.
232 service.ip_address = "192.168.0.101"; 231 service.ip_address = "192.168.0.101";
233 registry_->GetDelegate()->ServiceChanged(service_type, false, service); 232 registry_->GetDelegate()->ServiceChanged(service_type, false, service);
234 // Update with no changes to the service. 233 // Update with no changes to the service.
235 registry_->GetDelegate()->ServiceChanged(service_type, false, service); 234 registry_->GetDelegate()->ServiceChanged(service_type, false, service);
236 } 235 }
237 236
238 } // namespace extensions 237 } // namespace extensions
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698