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

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

Issue 19569006: Use a direct include of the message_loop header in chrome/test/, chrome/tools/, chrome/utility/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « chrome/tools/ipclist/ipcfuzz.cc ('k') | chrome/utility/importer/firefox3_importer.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 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 <vector> 5 #include <vector>
6 6
7 #include "base/at_exit.h" 7 #include "base/at_exit.h"
8 #include "base/bind.h" 8 #include "base/bind.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/message_loop.h" 10 #include "base/message_loop/message_loop.h"
11 #include "chrome/tools/service_discovery_sniffer/service_discovery_sniffer.h" 11 #include "chrome/tools/service_discovery_sniffer/service_discovery_sniffer.h"
12 #include "chrome/utility/local_discovery/service_discovery_client_impl.h" 12 #include "chrome/utility/local_discovery/service_discovery_client_impl.h"
13 #include "net/dns/mdns_client.h" 13 #include "net/dns/mdns_client.h"
14 14
15 namespace local_discovery { 15 namespace local_discovery {
16 16
17 ServicePrinter::ServicePrinter(ServiceDiscoveryClient* client, 17 ServicePrinter::ServicePrinter(ServiceDiscoveryClient* client,
18 const std::string& service_name) 18 const std::string& service_name)
19 : changed_(false) { 19 : changed_(false) {
20 service_resolver_ = 20 service_resolver_ =
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 { 111 {
112 // To guarantee/make explicit the ordering constraint. 112 // To guarantee/make explicit the ordering constraint.
113 local_discovery::ServiceTypePrinter print_changes( 113 local_discovery::ServiceTypePrinter print_changes(
114 service_discovery_client.get(), 114 service_discovery_client.get(),
115 std::string(argv[1]) + "._tcp.local"); 115 std::string(argv[1]) + "._tcp.local");
116 116
117 print_changes.Start(); 117 print_changes.Start();
118 message_loop.Run(); 118 message_loop.Run();
119 } 119 }
120 } 120 }
OLDNEW
« no previous file with comments | « chrome/tools/ipclist/ipcfuzz.cc ('k') | chrome/utility/importer/firefox3_importer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698