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

Side by Side Diff: chrome/browser/devtools/device/cast_device_provider.cc

Issue 1967773004: Fix include path for moved thread_task_runner_handle.h header in chrome/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: merge up to r393013 Created 4 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/devtools/device/cast_device_provider.h" 5 #include "chrome/browser/devtools/device/cast_device_provider.h"
6 6
7 #include <map> 7 #include <map>
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/strings/string_number_conversions.h" 12 #include "base/strings/string_number_conversions.h"
13 #include "base/strings/string_split.h" 13 #include "base/strings/string_split.h"
14 #include "base/thread_task_runner_handle.h" 14 #include "base/threading/thread_task_runner_handle.h"
15 #include "chrome/browser/local_discovery/service_discovery_shared_client.h" 15 #include "chrome/browser/local_discovery/service_discovery_shared_client.h"
16 #include "net/base/host_port_pair.h" 16 #include "net/base/host_port_pair.h"
17 #include "net/base/ip_address.h" 17 #include "net/base/ip_address.h"
18 18
19 using local_discovery::ServiceDescription; 19 using local_discovery::ServiceDescription;
20 using local_discovery::ServiceDiscoveryDeviceLister; 20 using local_discovery::ServiceDiscoveryDeviceLister;
21 using local_discovery::ServiceDiscoverySharedClient; 21 using local_discovery::ServiceDiscoverySharedClient;
22 22
23 namespace { 23 namespace {
24 24
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 const std::string& hostname = it->second; 196 const std::string& hostname = it->second;
197 device_info_map_.erase(hostname); 197 device_info_map_.erase(hostname);
198 service_hostname_map_.erase(it); 198 service_hostname_map_.erase(it);
199 } 199 }
200 200
201 void CastDeviceProvider::OnDeviceCacheFlushed() { 201 void CastDeviceProvider::OnDeviceCacheFlushed() {
202 VLOG(1) << "Device cache flushed"; 202 VLOG(1) << "Device cache flushed";
203 service_hostname_map_.clear(); 203 service_hostname_map_.clear();
204 device_info_map_.clear(); 204 device_info_map_.clear();
205 } 205 }
OLDNEW
« no previous file with comments | « chrome/browser/devtools/device/android_web_socket.cc ('k') | chrome/browser/devtools/device/port_forwarding_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698