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

Side by Side Diff: chromeos/disks/mock_disk_mount_manager.cc

Issue 1846723007: Fix IWYU violators that don't include scoped_ptr.h in CrOS build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 "chromeos/disks/mock_disk_mount_manager.h" 5 #include "chromeos/disks/mock_disk_mount_manager.h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include <utility> 9 #include <utility>
10 10
11 #include "base/memory/scoped_ptr.h"
11 #include "base/message_loop/message_loop.h" 12 #include "base/message_loop/message_loop.h"
12 #include "base/stl_util.h" 13 #include "base/stl_util.h"
13 #include "base/strings/string_util.h" 14 #include "base/strings/string_util.h"
14 15
15 using testing::_; 16 using testing::_;
16 using testing::AnyNumber; 17 using testing::AnyNumber;
17 using testing::Invoke; 18 using testing::Invoke;
18 using testing::ReturnRef; 19 using testing::ReturnRef;
19 20
20 namespace chromeos { 21 namespace chromeos {
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 FOR_EACH_OBSERVER(Observer, observers_, OnDiskEvent(event, disk)); 256 FOR_EACH_OBSERVER(Observer, observers_, OnDiskEvent(event, disk));
256 } 257 }
257 258
258 void MockDiskMountManager::NotifyDeviceChanged(DeviceEvent event, 259 void MockDiskMountManager::NotifyDeviceChanged(DeviceEvent event,
259 const std::string& path) { 260 const std::string& path) {
260 FOR_EACH_OBSERVER(Observer, observers_, OnDeviceEvent(event, path)); 261 FOR_EACH_OBSERVER(Observer, observers_, OnDeviceEvent(event, path));
261 } 262 }
262 263
263 } // namespace disks 264 } // namespace disks
264 } // namespace chromeos 265 } // namespace chromeos
OLDNEW
« no previous file with comments | « chromeos/dbus/fake_easy_unlock_client.cc ('k') | chromeos/process_proxy/process_output_watcher_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698