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

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

Issue 1133713009: Subject .mm files to the header sorting presubmit (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase - of course... it would be one of my patches I conflict with :| Created 5 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 <Foundation/Foundation.h> 8 #import <Foundation/Foundation.h>
8 #import <arpa/inet.h>
9 #import <net/if_dl.h> 9 #import <net/if_dl.h>
10 10
11 #include "base/memory/singleton.h" 11 #include "base/memory/singleton.h"
12 #include "base/metrics/histogram.h" 12 #include "base/metrics/histogram.h"
13 #include "base/single_thread_task_runner.h" 13 #include "base/single_thread_task_runner.h"
14 #include "base/thread_task_runner_handle.h" 14 #include "base/thread_task_runner_handle.h"
15 #include "base/threading/thread.h" 15 #include "base/threading/thread.h"
16 16
17 using local_discovery::ServiceWatcherImplMac; 17 using local_discovery::ServiceWatcherImplMac;
18 using local_discovery::ServiceResolverImplMac; 18 using local_discovery::ServiceResolverImplMac;
(...skipping 451 matching lines...) Expand 10 before | Expand all | Expand 10 after
470 container_->OnResolveUpdate(local_discovery::ServiceResolver::STATUS_SUCCESS); 470 container_->OnResolveUpdate(local_discovery::ServiceResolver::STATUS_SUCCESS);
471 } 471 }
472 472
473 - (void)netService:(NSNetService *)sender 473 - (void)netService:(NSNetService *)sender
474 didNotResolve:(NSDictionary *)errorDict { 474 didNotResolve:(NSDictionary *)errorDict {
475 container_->OnResolveUpdate( 475 container_->OnResolveUpdate(
476 local_discovery::ServiceResolver::STATUS_REQUEST_TIMEOUT); 476 local_discovery::ServiceResolver::STATUS_REQUEST_TIMEOUT);
477 } 477 }
478 478
479 @end 479 @end
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698