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

Side by Side Diff: net/tools/net_watcher/net_watcher.cc

Issue 1535363003: Switch to standard integer types in net/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: stddef Created 5 years 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
« no previous file with comments | « net/tools/get_server_time/get_server_time.cc ('k') | net/tools/quic/end_to_end_test.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // This is a small utility that watches for and logs network changes. 5 // This is a small utility that watches for and logs network changes.
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/at_exit.h" 9 #include "base/at_exit.h"
10 #include "base/basictypes.h"
11 #include "base/command_line.h" 10 #include "base/command_line.h"
12 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
13 #include "base/json/json_writer.h" 12 #include "base/json/json_writer.h"
14 #include "base/logging.h" 13 #include "base/logging.h"
14 #include "base/macros.h"
15 #include "base/memory/scoped_ptr.h" 15 #include "base/memory/scoped_ptr.h"
16 #include "base/message_loop/message_loop.h" 16 #include "base/message_loop/message_loop.h"
17 #include "base/strings/string_split.h" 17 #include "base/strings/string_split.h"
18 #include "base/values.h" 18 #include "base/values.h"
19 #include "build/build_config.h" 19 #include "build/build_config.h"
20 #include "net/base/network_change_notifier.h" 20 #include "net/base/network_change_notifier.h"
21 #include "net/proxy/proxy_config.h" 21 #include "net/proxy/proxy_config.h"
22 #include "net/proxy/proxy_config_service.h" 22 #include "net/proxy/proxy_config_service.h"
23 #include "net/proxy/proxy_service.h" 23 #include "net/proxy/proxy_service.h"
24 24
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 proxy_config_service->RemoveObserver(&net_watcher); 218 proxy_config_service->RemoveObserver(&net_watcher);
219 219
220 // Uses |network_change_notifier|. 220 // Uses |network_change_notifier|.
221 net::NetworkChangeNotifier::RemoveDNSObserver(&net_watcher); 221 net::NetworkChangeNotifier::RemoveDNSObserver(&net_watcher);
222 net::NetworkChangeNotifier::RemoveConnectionTypeObserver(&net_watcher); 222 net::NetworkChangeNotifier::RemoveConnectionTypeObserver(&net_watcher);
223 net::NetworkChangeNotifier::RemoveIPAddressObserver(&net_watcher); 223 net::NetworkChangeNotifier::RemoveIPAddressObserver(&net_watcher);
224 net::NetworkChangeNotifier::RemoveNetworkChangeObserver(&net_watcher); 224 net::NetworkChangeNotifier::RemoveNetworkChangeObserver(&net_watcher);
225 225
226 return 0; 226 return 0;
227 } 227 }
OLDNEW
« no previous file with comments | « net/tools/get_server_time/get_server_time.cc ('k') | net/tools/quic/end_to_end_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698