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

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

Issue 2876013002: Add missing IWYU message_loop.h includes. (Closed)
Patch Set: fix upstream Created 3 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/android_device_manager.h" 5 #include "chrome/browser/devtools/device/android_device_manager.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <string.h> 8 #include <string.h>
9 9
10 #include <utility> 10 #include <utility>
11 11
12 #include "base/location.h" 12 #include "base/location.h"
13 #include "base/memory/ptr_util.h" 13 #include "base/memory/ptr_util.h"
14 #include "base/message_loop/message_loop.h"
14 #include "base/strings/string_number_conversions.h" 15 #include "base/strings/string_number_conversions.h"
15 #include "base/strings/string_util.h" 16 #include "base/strings/string_util.h"
16 #include "base/strings/stringprintf.h" 17 #include "base/strings/stringprintf.h"
17 #include "base/threading/thread_task_runner_handle.h" 18 #include "base/threading/thread_task_runner_handle.h"
18 #include "net/base/io_buffer.h" 19 #include "net/base/io_buffer.h"
19 #include "net/base/net_errors.h" 20 #include "net/base/net_errors.h"
20 #include "net/socket/stream_socket.h" 21 #include "net/socket/stream_socket.h"
21 22
22 using content::BrowserThread; 23 using content::BrowserThread;
23 24
(...skipping 525 matching lines...) Expand 10 before | Expand all | Expand 10 after
549 new Device(handler_thread_->message_loop(), it->provider, it->serial); 550 new Device(handler_thread_->message_loop(), it->provider, it->serial);
550 } else { 551 } else {
551 device = found->second.get(); 552 device = found->second.get();
552 } 553 }
553 response.push_back(device); 554 response.push_back(device);
554 new_devices[it->serial] = device->weak_factory_.GetWeakPtr(); 555 new_devices[it->serial] = device->weak_factory_.GetWeakPtr();
555 } 556 }
556 devices_.swap(new_devices); 557 devices_.swap(new_devices);
557 callback.Run(response); 558 callback.Run(response);
558 } 559 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698