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

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

Issue 2876013002: Add missing IWYU message_loop.h includes. (Closed)
Patch Set: fix upstream Created 3 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
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/message_loop/message_loop.h"
15 #include "base/metrics/histogram_macros.h" 16 #include "base/metrics/histogram_macros.h"
16 #include "base/single_thread_task_runner.h" 17 #include "base/single_thread_task_runner.h"
17 #include "base/strings/sys_string_conversions.h" 18 #include "base/strings/sys_string_conversions.h"
18 #include "base/threading/thread.h" 19 #include "base/threading/thread.h"
19 #include "base/threading/thread_task_runner_handle.h" 20 #include "base/threading/thread_task_runner_handle.h"
20 #include "net/base/ip_address.h" 21 #include "net/base/ip_address.h"
21 #include "net/base/ip_endpoint.h" 22 #include "net/base/ip_endpoint.h"
22 23
23 using local_discovery::ServiceWatcherImplMac; 24 using local_discovery::ServiceWatcherImplMac;
24 using local_discovery::ServiceResolverImplMac; 25 using local_discovery::ServiceResolverImplMac;
(...skipping 476 matching lines...) Expand 10 before | Expand all | Expand 10 after
501 container_->OnResolveUpdate(local_discovery::ServiceResolver::STATUS_SUCCESS); 502 container_->OnResolveUpdate(local_discovery::ServiceResolver::STATUS_SUCCESS);
502 } 503 }
503 504
504 - (void)netService:(NSNetService*)sender 505 - (void)netService:(NSNetService*)sender
505 didNotResolve:(NSDictionary*)errorDict { 506 didNotResolve:(NSDictionary*)errorDict {
506 container_->OnResolveUpdate( 507 container_->OnResolveUpdate(
507 local_discovery::ServiceResolver::STATUS_REQUEST_TIMEOUT); 508 local_discovery::ServiceResolver::STATUS_REQUEST_TIMEOUT);
508 } 509 }
509 510
510 @end 511 @end
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698