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

Side by Side Diff: device/media_transfer_protocol/media_transfer_protocol_manager.cc

Issue 1852953002: Fix a bunch of IWYU violators that don't include scoped_ptr.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comment Created 4 years, 8 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 (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 #include "device/media_transfer_protocol/media_transfer_protocol_manager.h" 5 #include "device/media_transfer_protocol/media_transfer_protocol_manager.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <map> 8 #include <map>
9 #include <queue> 9 #include <queue>
10 #include <set> 10 #include <set>
11 #include <utility> 11 #include <utility>
12 12
13 #include "base/bind.h" 13 #include "base/bind.h"
14 #include "base/command_line.h" 14 #include "base/command_line.h"
15 #include "base/location.h" 15 #include "base/location.h"
16 #include "base/macros.h" 16 #include "base/macros.h"
17 #include "base/memory/scoped_ptr.h"
17 #include "base/memory/weak_ptr.h" 18 #include "base/memory/weak_ptr.h"
18 #include "base/observer_list.h" 19 #include "base/observer_list.h"
19 #include "base/sequenced_task_runner.h" 20 #include "base/sequenced_task_runner.h"
20 #include "base/stl_util.h" 21 #include "base/stl_util.h"
21 #include "base/threading/thread_checker.h" 22 #include "base/threading/thread_checker.h"
22 #include "build/build_config.h" 23 #include "build/build_config.h"
23 #include "dbus/bus.h" 24 #include "dbus/bus.h"
24 #include "device/media_transfer_protocol/media_transfer_protocol_daemon_client.h " 25 #include "device/media_transfer_protocol/media_transfer_protocol_daemon_client.h "
25 #include "device/media_transfer_protocol/mtp_file_entry.pb.h" 26 #include "device/media_transfer_protocol/mtp_file_entry.pb.h"
26 #include "device/media_transfer_protocol/mtp_storage_info.pb.h" 27 #include "device/media_transfer_protocol/mtp_storage_info.pb.h"
(...skipping 684 matching lines...) Expand 10 before | Expand all | Expand 10 after
711 DCHECK(!g_media_transfer_protocol_manager); 712 DCHECK(!g_media_transfer_protocol_manager);
712 713
713 g_media_transfer_protocol_manager = 714 g_media_transfer_protocol_manager =
714 new MediaTransferProtocolManagerImpl(task_runner); 715 new MediaTransferProtocolManagerImpl(task_runner);
715 VLOG(1) << "MediaTransferProtocolManager initialized"; 716 VLOG(1) << "MediaTransferProtocolManager initialized";
716 717
717 return g_media_transfer_protocol_manager; 718 return g_media_transfer_protocol_manager;
718 } 719 }
719 720
720 } // namespace device 721 } // namespace device
OLDNEW
« no previous file with comments | « device/hid/hid_service.h ('k') | extensions/browser/api/declarative/deduping_factory_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698