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

Side by Side Diff: chrome/tools/service_discovery_sniffer/service_discovery_sniffer.h

Issue 1548153002: Switch to standard integer types in chrome/. (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 #ifndef CHROME_TOOLS_SERVICE_DISCOVERY_SNIFFER_SERVICE_DISCOVERY_SNIFFER_H_ 5 #ifndef CHROME_TOOLS_SERVICE_DISCOVERY_SNIFFER_SERVICE_DISCOVERY_SNIFFER_H_
6 #define CHROME_TOOLS_SERVICE_DISCOVERY_SNIFFER_SERVICE_DISCOVERY_SNIFFER_H_ 6 #define CHROME_TOOLS_SERVICE_DISCOVERY_SNIFFER_SERVICE_DISCOVERY_SNIFFER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
11 #include "base/macros.h"
11 #include "base/memory/linked_ptr.h" 12 #include "base/memory/linked_ptr.h"
12 #include "chrome/common/local_discovery/service_discovery_client.h" 13 #include "chrome/common/local_discovery/service_discovery_client.h"
13 14
14 namespace local_discovery { 15 namespace local_discovery {
15 16
16 // Resolves a service and prints out information regarding it to the 17 // Resolves a service and prints out information regarding it to the
17 // console. |client| must outlive the ServicePrinter. 18 // console. |client| must outlive the ServicePrinter.
18 class ServicePrinter { 19 class ServicePrinter {
19 public: 20 public:
20 ServicePrinter(ServiceDiscoveryClient* client, 21 ServicePrinter(ServiceDiscoveryClient* client,
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 ServiceMap services_; 54 ServiceMap services_;
54 scoped_ptr<ServiceWatcher> watcher_; 55 scoped_ptr<ServiceWatcher> watcher_;
55 ServiceDiscoveryClient* client_; 56 ServiceDiscoveryClient* client_;
56 57
57 DISALLOW_COPY_AND_ASSIGN(ServiceTypePrinter); 58 DISALLOW_COPY_AND_ASSIGN(ServiceTypePrinter);
58 }; 59 };
59 60
60 } // namespace local_discovery 61 } // namespace local_discovery
61 62
62 #endif // CHROME_TOOLS_SERVICE_DISCOVERY_SNIFFER_SERVICE_DISCOVERY_SNIFFER_H_ 63 #endif // CHROME_TOOLS_SERVICE_DISCOVERY_SNIFFER_SERVICE_DISCOVERY_SNIFFER_H_
OLDNEW
« no previous file with comments | « chrome/tools/mac_helpers/infoplist_strings_util.mm ('k') | chrome/utility/chrome_content_utility_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698