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

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

Issue 1550593002: Switch to standard integer types in chrome/browser/, part 2 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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/privet_traffic_detector.h" 5 #include "chrome/browser/local_discovery/privet_traffic_detector.h"
6 6
7 #include <stddef.h>
8
7 #include "base/location.h" 9 #include "base/location.h"
10 #include "base/macros.h"
8 #include "base/metrics/histogram.h" 11 #include "base/metrics/histogram.h"
9 #include "base/single_thread_task_runner.h" 12 #include "base/single_thread_task_runner.h"
10 #include "base/sys_byteorder.h" 13 #include "base/sys_byteorder.h"
11 #include "net/base/net_errors.h" 14 #include "net/base/net_errors.h"
12 #include "net/base/network_interfaces.h" 15 #include "net/base/network_interfaces.h"
13 #include "net/dns/dns_protocol.h" 16 #include "net/dns/dns_protocol.h"
14 #include "net/dns/dns_response.h" 17 #include "net/dns/dns_response.h"
15 #include "net/dns/mdns_client.h" 18 #include "net/dns/mdns_client.h"
16 #include "net/log/net_log.h" 19 #include "net/log/net_log.h"
17 #include "net/udp/datagram_server_socket.h" 20 #include "net/udp/datagram_server_socket.h"
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 base::Unretained(this))); 194 base::Unretained(this)));
192 } while (rv > 0); 195 } while (rv > 0);
193 196
194 if (rv != net::ERR_IO_PENDING) 197 if (rv != net::ERR_IO_PENDING)
195 return rv; 198 return rv;
196 199
197 return net::OK; 200 return net::OK;
198 } 201 }
199 202
200 } // namespace local_discovery 203 } // namespace local_discovery
OLDNEW
« no previous file with comments | « chrome/browser/local_discovery/privet_traffic_detector.h ('k') | chrome/browser/local_discovery/privet_url_fetcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698