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

Side by Side Diff: chrome/browser/local_discovery/service_discovery_client_mac.mm

Issue 2299993004: Migrate chrome/browser files to histogram_macros.h includes. (Closed)
Patch Set: Created 4 years, 3 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 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/service_discovery_client_mac.h" 5 #include "chrome/browser/local_discovery/service_discovery_client_mac.h"
6 6
7 #import <arpa/inet.h> 7 #import <arpa/inet.h>
8 #import <Foundation/Foundation.h> 8 #import <Foundation/Foundation.h>
9 #import <net/if_dl.h> 9 #import <net/if_dl.h>
10 #include <stddef.h> 10 #include <stddef.h>
11 #include <stdint.h> 11 #include <stdint.h>
12 12
13 #include "base/debug/dump_without_crashing.h" 13 #include "base/debug/dump_without_crashing.h"
14 #include "base/memory/singleton.h" 14 #include "base/memory/singleton.h"
15 #include "base/metrics/histogram.h" 15 #include "base/metrics/histogram_macros.h"
16 #include "base/single_thread_task_runner.h" 16 #include "base/single_thread_task_runner.h"
17 #include "base/strings/sys_string_conversions.h" 17 #include "base/strings/sys_string_conversions.h"
18 #include "base/threading/thread.h" 18 #include "base/threading/thread.h"
19 #include "base/threading/thread_task_runner_handle.h" 19 #include "base/threading/thread_task_runner_handle.h"
20 #include "net/base/ip_address.h" 20 #include "net/base/ip_address.h"
21 #include "net/base/ip_endpoint.h" 21 #include "net/base/ip_endpoint.h"
22 22
23 using local_discovery::ServiceWatcherImplMac; 23 using local_discovery::ServiceWatcherImplMac;
24 using local_discovery::ServiceResolverImplMac; 24 using local_discovery::ServiceResolverImplMac;
25 25
(...skipping 461 matching lines...) Expand 10 before | Expand all | Expand 10 after
487 container_->OnResolveUpdate(local_discovery::ServiceResolver::STATUS_SUCCESS); 487 container_->OnResolveUpdate(local_discovery::ServiceResolver::STATUS_SUCCESS);
488 } 488 }
489 489
490 - (void)netService:(NSNetService*)sender 490 - (void)netService:(NSNetService*)sender
491 didNotResolve:(NSDictionary*)errorDict { 491 didNotResolve:(NSDictionary*)errorDict {
492 container_->OnResolveUpdate( 492 container_->OnResolveUpdate(
493 local_discovery::ServiceResolver::STATUS_REQUEST_TIMEOUT); 493 local_discovery::ServiceResolver::STATUS_REQUEST_TIMEOUT);
494 } 494 }
495 495
496 @end 496 @end
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698